Vim: bullets plugin, replace/wrap line mappings
Also changed paste toggle (F10) to instead turn on paste, paste and then turn off.
This commit is contained in:
5
.vimrc
5
.vimrc
@@ -55,6 +55,7 @@ Plug 'tpope/vim-surround'
|
|||||||
Plug 'easymotion/vim-easymotion'
|
Plug 'easymotion/vim-easymotion'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
Plug 'dkarter/bullets.vim'
|
||||||
" }}} vim-plug "
|
" }}} vim-plug "
|
||||||
|
|
||||||
" YCM/UltiSnips {{{ "
|
" YCM/UltiSnips {{{ "
|
||||||
@@ -77,7 +78,7 @@ map <F4> :wqa<CR>
|
|||||||
map <F5> :qa!<CR>
|
map <F5> :qa!<CR>
|
||||||
map <F7> :AutoSaveToggle<CR>
|
map <F7> :AutoSaveToggle<CR>
|
||||||
map <F9> :LLPStartPreview<CR>
|
map <F9> :LLPStartPreview<CR>
|
||||||
set pastetoggle=<F10>
|
nnoremap <F10> :set paste<CR>p:set nopaste<CR>
|
||||||
map <S-Enter> O<ESC>
|
map <S-Enter> O<ESC>
|
||||||
|
|
||||||
" For splits.
|
" For splits.
|
||||||
@@ -98,9 +99,11 @@ nnoremap <leader>pli :PlugInstall<CR>
|
|||||||
nnoremap <leader>plc :PlugClean<CR>
|
nnoremap <leader>plc :PlugClean<CR>
|
||||||
nnoremap <leader>plu :PlugUpdate<CR>
|
nnoremap <leader>plu :PlugUpdate<CR>
|
||||||
nnoremap <leader>r :.,.+s///g<left><left><left><left><left>
|
nnoremap <leader>r :.,.+s///g<left><left><left><left><left>
|
||||||
|
nnoremap <leader>rl :.s///g<left><left><left>
|
||||||
nnoremap <leader>rv :source $MYVIMRC<CR>
|
nnoremap <leader>rv :source $MYVIMRC<CR>
|
||||||
nnoremap <leader>R :%s///g<left><left><left>
|
nnoremap <leader>R :%s///g<left><left><left>
|
||||||
nnoremap <leader>s :set syn=sh<CR>
|
nnoremap <leader>s :set syn=sh<CR>
|
||||||
|
nnoremap <leader>w Vgq
|
||||||
nnoremap <leader>z za
|
nnoremap <leader>z za
|
||||||
" }}} Mappings "
|
" }}} Mappings "
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ alias grbc="git rebase --continue"
|
|||||||
alias gps="git push"
|
alias gps="git push"
|
||||||
alias vig="vi .gitignore"
|
alias vig="vi .gitignore"
|
||||||
alias ga="git add -A * && gs"
|
alias ga="git add -A * && gs"
|
||||||
|
alias gac="git add -A *; git commit"
|
||||||
alias gai="git add .gitignore"
|
alias gai="git add .gitignore"
|
||||||
alias gd="git diff -w"
|
alias gd="git diff -w"
|
||||||
alias gdc="git diff --cached"
|
alias gdc="git diff --cached"
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ if [ "$(hostname)" == "NZXT" ]; then
|
|||||||
alias pg="ping -c 5 google.ca"
|
alias pg="ping -c 5 google.ca"
|
||||||
|
|
||||||
alias res="vi ~/Documents/resume/README.md"
|
alias res="vi ~/Documents/resume/README.md"
|
||||||
|
alias sfa="d ~/Documents/self-authoring"
|
||||||
alias rcg="d ~/Documents/coding/random-color-generator"
|
alias rcg="d ~/Documents/coding/random-color-generator"
|
||||||
alias dcr="d ~/Documents/coding/dcr-logger"
|
alias dcr="d ~/Documents/coding/dcr-logger"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user