Main thing here was adding enter mapping in vim to

insert newline without leaving normal mode
This commit is contained in:
jomido
2018-05-02 09:48:10 -05:00
parent 6898dd3545
commit daa517a02f
12 changed files with 24 additions and 10 deletions

View File

@@ -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