added splits keymappings, and more comment lines
This commit is contained in:
parent
4fba2992ea
commit
9a1878aedf
27
init.vim
27
init.vim
|
@ -12,7 +12,10 @@ set tabstop=4
|
||||||
set expandtab
|
set expandtab
|
||||||
set number
|
set number
|
||||||
|
|
||||||
|
" ***********************************************************
|
||||||
|
" ********************* install pluggins ********************
|
||||||
|
" ***********************************************************
|
||||||
|
"
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
Plug 'SirVer/ultisnips'
|
Plug 'SirVer/ultisnips'
|
||||||
Plug 'honza/vim-snippets'
|
Plug 'honza/vim-snippets'
|
||||||
|
@ -30,11 +33,27 @@ call plug#begin('~/.vim/plugged')
|
||||||
Plug 'airblade/vim-rooter'
|
Plug 'airblade/vim-rooter'
|
||||||
call plug#end()
|
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>
|
: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
|
"This is the default extra key bindings
|
||||||
let g:fzf_action = {
|
let g:fzf_action = {
|
||||||
|
|
Loading…
Reference in New Issue