scroll the whole page without moving the cursor, and remap arrows to re-size splits
This commit is contained in:
parent
ef8a6d4906
commit
337119fa02
10
.vimrc
10
.vimrc
@ -36,7 +36,7 @@ let g:netrw_altv = 1
|
||||
let g:netrw_winsize = 25
|
||||
"----airline tabs for buffers-------
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline_theme = 'dark'
|
||||
let g:airline_theme = 'light'
|
||||
let g:tmuxline_powerline_separators = 1
|
||||
let g:airline_powerline_fonts = 1
|
||||
let mapleader = ";"
|
||||
@ -44,6 +44,9 @@ set showcmd
|
||||
map <Leader>a :bn<cr>
|
||||
map <Leader>f :bp<cr>
|
||||
map <Leader>d :bp<cr>:bd #<cr>
|
||||
"---move the whole page without moving the cursor---
|
||||
nnoremap J <C-E>
|
||||
nnoremap K <C-Y>
|
||||
"-----nerdtree--------------------
|
||||
nmap <Leader>e :NERDTreeToggle<CR>
|
||||
" Search as you type, highlight results
|
||||
@ -52,3 +55,8 @@ set showmatch
|
||||
set hlsearch
|
||||
nnoremap \\ :noh<cr> " Clear higlighting
|
||||
"nnoremap <esc> :noh<return><esc>
|
||||
" Resize windows
|
||||
nnoremap <silent> <Up> 5<C-W>+
|
||||
nnoremap <silent> <Down> 5<C-W>-
|
||||
nnoremap <silent> <Right> 10<C-W>>
|
||||
nnoremap <silent> <Left> 10<C-W><
|
||||
|
Loading…
Reference in New Issue
Block a user