Main thing here was adding enter mapping in vim to
insert newline without leaving normal mode
This commit is contained in:
@@ -54,6 +54,7 @@ nnoremap <C-h> <C-W><C-H>
|
||||
inoremap jj <Esc>
|
||||
inoremap jk <Esc>
|
||||
inoremap kj <Esc>
|
||||
nnoremap <CR> o<Esc>
|
||||
|
||||
nnoremap <leader>l :ls<CR>:b<Space>
|
||||
nnoremap <Tab> :bnext<CR>
|
||||
@@ -66,7 +67,7 @@ nnoremap <space> za
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
|
||||
"lightline colorscheme
|
||||
let g:lightline = {'colorscheme': 'powerline',}
|
||||
let g:lightline = {'colorscheme': 'jellybeans',}
|
||||
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
@@ -87,6 +88,8 @@ Plugin 'itchyny/lightline.vim'
|
||||
Plugin 'itchyny/calendar.vim'
|
||||
Plugin 'davidhalter/jedi-vim'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'ap/vim-buftabline'
|
||||
Plugin 'wellle/targets.vim'
|
||||
|
||||
call vundle#end() " required
|
||||
filetype plugin indent on " required
|
||||
|
||||
Reference in New Issue
Block a user