added splits keymappings, and more comment lines

This commit is contained in:
Russell Riker 2020-09-07 09:49:24 -04:00
parent 4fba2992ea
commit 9a1878aedf
1 changed files with 23 additions and 4 deletions

View File

@ -12,7 +12,10 @@ set tabstop=4
set expandtab
set number
" ***********************************************************
" ********************* install pluggins ********************
" ***********************************************************
"
call plug#begin('~/.vim/plugged')
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
@ -30,11 +33,27 @@ call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-rooter'
call plug#end()
" remap the split window motion keybindings
":map <C-J> <C-W>J
" ***********************************************************
" ****************** basic remap keys ***********************
" ***********************************************************
" remap the split window motion keybindings
" stole these from BrodieRobertson
map <A-h> <C-w>h
map <A-j> <C-w>j
map <A-k> <C-w>k
map <A-l> <C-w>l
" nerdtree file manager
:nmap <silent> <C-D> :NERDTreeToggle<CR>
:nnoremap <F4> :buffers<CR>:buffer<Space>
" buffers
:nnoremap <F5> :buffers<CR>:buffer<Space>
" ***********************************************************
" **************** fzf & ripgrep config *********************
" ***********************************************************
"
"This is the default extra key bindings
let g:fzf_action = {