Quicker file access from Vim

This commit is contained in:
Andrew Tomaka 2020-07-28 13:53:34 -04:00
parent b22a16bc13
commit d5baf70eb0
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

2
vimrc
View file

@ -12,6 +12,7 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'ntpeters/vim-better-whitespace' Plug 'ntpeters/vim-better-whitespace'
Plug 'rbgrouleff/bclose.vim' Plug 'rbgrouleff/bclose.vim'
Plug 'ruanyl/vim-gh-line'
Plug 'tpope/vim-endwise' Plug 'tpope/vim-endwise'
Plug 'tpope/vim-eunuch' " move files Plug 'tpope/vim-eunuch' " move files
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
@ -148,6 +149,7 @@ map <Leader>fj :%!python -m json.tool<cr>
map <Leader>fw :StripWhitespace<cr> map <Leader>fw :StripWhitespace<cr>
map <Leader>pm :set paste!<cr> map <Leader>pm :set paste!<cr>
map <Leader>sa :Move %<tab> map <Leader>sa :Move %<tab>
map <Leader>sb :!subl %:p<CR>
map <Leader>se :e ~/.vimrc<cr> map <Leader>se :e ~/.vimrc<cr>
map <Leader>sc :pclose<cr> map <Leader>sc :pclose<cr>
map <Leader>sw :SudoWrite<cr> map <Leader>sw :SudoWrite<cr>