Browse Source

Vim: bullets plugin, replace/wrap line mappings

Also changed paste toggle (F10) to instead turn on paste, paste and
then turn off.
red-hat-laptop
Kevin Mok 7 years ago
parent
commit
0d327968c0
  1. 5
      .vimrc
  2. 1
      aliases/.git_aliases
  3. 1
      aliases/.pc_aliases

5
.vimrc

@ -55,6 +55,7 @@ Plug 'tpope/vim-surround'
Plug 'easymotion/vim-easymotion'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'dkarter/bullets.vim'
" }}} vim-plug "
" YCM/UltiSnips {{{ "
@ -77,7 +78,7 @@ map <F4> :wqa<CR>
map <F5> :qa!<CR>
map <F7> :AutoSaveToggle<CR>
map <F9> :LLPStartPreview<CR>
set pastetoggle=<F10>
nnoremap <F10> :set paste<CR>p:set nopaste<CR>
map <S-Enter> O<ESC>
" For splits.
@ -98,9 +99,11 @@ nnoremap <leader>pli :PlugInstall<CR>
nnoremap <leader>plc :PlugClean<CR>
nnoremap <leader>plu :PlugUpdate<CR>
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>R :%s///g<left><left><left>
nnoremap <leader>s :set syn=sh<CR>
nnoremap <leader>w Vgq
nnoremap <leader>z za
" }}} Mappings "

1
aliases/.git_aliases

@ -6,6 +6,7 @@ alias grbc="git rebase --continue"
alias gps="git push"
alias vig="vi .gitignore"
alias ga="git add -A * && gs"
alias gac="git add -A *; git commit"
alias gai="git add .gitignore"
alias gd="git diff -w"
alias gdc="git diff --cached"

1
aliases/.pc_aliases

@ -42,6 +42,7 @@ if [ "$(hostname)" == "NZXT" ]; then
alias pg="ping -c 5 google.ca"
alias res="vi ~/Documents/resume/README.md"
alias sfa="d ~/Documents/self-authoring"
alias rcg="d ~/Documents/coding/random-color-generator"
alias dcr="d ~/Documents/coding/dcr-logger"
fi

Loading…
Cancel
Save