Update vimrc and bash(zsh)rc
This commit is contained in:
parent
ae407bdff2
commit
c5299b6d27
@ -8,7 +8,11 @@
|
|||||||
# exec tmux -2 attach-session || tmux -2 new-session
|
# exec tmux -2 attach-session || tmux -2 new-session
|
||||||
#fi
|
#fi
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
PS1='[\u@\h \W]\$ '
|
#PS1='[\u@\h \W]\$ '
|
||||||
|
|
||||||
|
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
|
||||||
|
source /usr/share/zsh/manjaro-zsh-prompt
|
||||||
|
fi
|
||||||
export TERM=linux
|
export TERM=linux
|
||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
alias ~='cd ~/'
|
alias ~='cd ~/'
|
||||||
@ -45,7 +49,6 @@ alias nordd='nordvpn disconnect'
|
|||||||
alias fucking='sudo'
|
alias fucking='sudo'
|
||||||
alias please='sudo'
|
alias please='sudo'
|
||||||
alias fuck='pkill -9'
|
alias fuck='pkill -9'
|
||||||
alias mirrorupdate='curl -s "https://www.archlinux.org/mirrorlist/?country=US&protocol=https&use_mirror_status=on" | sed -e 's/^#Server/Server/' -e '/^#/d' | rankmirrors -n 5 - | sudo tee /etc/pacman.d/mirrorlist'
|
|
||||||
alias bashrc='source ~/.bashrc'
|
alias bashrc='source ~/.bashrc'
|
||||||
alias iotop='sudo iotop'
|
alias iotop='sudo iotop'
|
||||||
alias artistradio='tizonia --spotify-related-artists'
|
alias artistradio='tizonia --spotify-related-artists'
|
||||||
|
57
Arch/.vimrc
57
Arch/.vimrc
@ -1,63 +1,6 @@
|
|||||||
set nocompatible " be iMproved, required
|
set nocompatible " be iMproved, required
|
||||||
filetype off " required
|
filetype off " required
|
||||||
|
|
||||||
" set the runtime path to include Vundle and initialize
|
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
|
||||||
call vundle#begin()
|
|
||||||
" alternatively, pass a path where Vundle should install plugins
|
|
||||||
"call vundle#begin('~/some/path/here')
|
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
|
||||||
" Track the engine.
|
|
||||||
Plugin 'SirVer/ultisnips'
|
|
||||||
|
|
||||||
" Snippets are separated from the engine. Add this if you want them:
|
|
||||||
Plugin 'honza/vim-snippets'
|
|
||||||
|
|
||||||
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
|
|
||||||
let g:UltiSnipsExpandTrigger="<tab>"
|
|
||||||
let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
|
||||||
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
|
||||||
|
|
||||||
" If you want :UltiSnipsEdit to split your window.
|
|
||||||
let g:UltiSnipsEditSplit="vertical"
|
|
||||||
|
|
||||||
|
|
||||||
" The following are examples of different formats supported.
|
|
||||||
" Keep Plugin commands between vundle#begin/end.
|
|
||||||
" plugin on GitHub repo
|
|
||||||
"Plugin 'tpope/vim-fugitive'
|
|
||||||
" plugin from http://vim-scripts.org/vim/scripts.html
|
|
||||||
" Plugin 'L9'
|
|
||||||
" Git plugin not hosted on GitHub
|
|
||||||
"Plugin 'git://git.wincent.com/command-t.git'
|
|
||||||
" git repos on your local machine (i.e. when working on your own plugin)
|
|
||||||
"Plugin 'file:///home/gmarik/path/to/plugin'
|
|
||||||
" The sparkup vim script is in a subdirectory of this repo called vim.
|
|
||||||
" Pass the path to set the runtimepath properly.
|
|
||||||
"Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
|
|
||||||
" Install L9 and avoid a Naming conflict if you've already installed a
|
|
||||||
" different version somewhere else.
|
|
||||||
" Plugin 'ascenator/L9', {'name': 'newL9'}
|
|
||||||
|
|
||||||
" All of your Plugins must be added before the following line
|
|
||||||
call vundle#end() " required
|
|
||||||
filetype plugin indent on " required
|
|
||||||
" To ignore plugin indent changes, instead use:
|
|
||||||
"filetype plugin on
|
|
||||||
"
|
|
||||||
" Brief help
|
|
||||||
" :PluginList - lists configured plugins
|
|
||||||
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
|
|
||||||
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
|
|
||||||
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
|
|
||||||
"
|
|
||||||
" see :h vundle for more details or wiki for FAQ
|
|
||||||
" Put your non-Plugin stuff after this line
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let mapleader = "-"
|
let mapleader = "-"
|
||||||
inoremap kj <Esc>
|
inoremap kj <Esc>
|
||||||
nnoremap <left> <C-W>h
|
nnoremap <left> <C-W>h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user