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

@@ -1,3 +1,8 @@
#remove escape delay
set -s escape-time 0
set -g default-terminal "rxvt-unicode-256color"
#change C-b to Ca #change C-b to Ca
unbind C-b unbind C-b
set-option -g prefix C-a set-option -g prefix C-a
@@ -31,7 +36,9 @@ set -g mode-keys vi
if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \ if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \
'set -g mouse on' \ 'set -g mouse on' \
'set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on' 'set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on'
# 'set -g mouse on; set -g mouse-utf8 on' \
set -g mouse on
#'set -g mouse on; set -g mouse-utf8 on' \
bind-key Tab last-window bind-key Tab last-window
bind-key BTab previous-window bind-key BTab previous-window

View File

@@ -1,5 +1,7 @@
let g:netrw_dirhistmax =10 let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =3 let g:netrw_dirhist_cnt =5
let g:netrw_dirhist_1='/home/jon' let g:netrw_dirhist_1='/home/jon'
let g:netrw_dirhist_2='/home/jon/.gnome' let g:netrw_dirhist_2='/home/jon/.gnome'
let g:netrw_dirhist_3='/home/jon' let g:netrw_dirhist_3='/home/jon'
let g:netrw_dirhist_4='/home/jon/dwm-6.1/.git'
let g:netrw_dirhist_5='/etc/X11/xorg.conf.d'

Submodule vim/.vim/bundle/Vundle.vim updated: 6437ad6df4...9a38216a1c

Submodule vim/.vim/bundle/calendar.vim updated: 6d6be26b2a...1aee272cc3

Submodule vim/.vim/bundle/jedi-vim updated: 0c6a2b7737...48af2afd3e

Submodule vim/.vim/bundle/lightline.vim updated: b19faca129...78c43c1446

Submodule vim/.vim/bundle/nerdtree updated: 8cd17c1a47...a0e49c9b11

Submodule vim/.vim/bundle/syntastic updated: 5e1b26c172...2c02edd174

Submodule vim/.vim/bundle/targets.vim added at c1732189c9

Submodule vim/.vim/bundle/vim-buftabline added at 14d208b1fa

Submodule vim/.vim/bundle/vim-fugitive updated: 913fff1cea...409b098c93

View File

@@ -54,6 +54,7 @@ nnoremap <C-h> <C-W><C-H>
inoremap jj <Esc> inoremap jj <Esc>
inoremap jk <Esc> inoremap jk <Esc>
inoremap kj <Esc> inoremap kj <Esc>
nnoremap <CR> o<Esc>
nnoremap <leader>l :ls<CR>:b<Space> nnoremap <leader>l :ls<CR>:b<Space>
nnoremap <Tab> :bnext<CR> nnoremap <Tab> :bnext<CR>
@@ -66,7 +67,7 @@ nnoremap <space> za
map <C-n> :NERDTreeToggle<CR> map <C-n> :NERDTreeToggle<CR>
"lightline colorscheme "lightline colorscheme
let g:lightline = {'colorscheme': 'powerline',} let g:lightline = {'colorscheme': 'jellybeans',}
" set the runtime path to include Vundle and initialize " set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim
@@ -87,6 +88,8 @@ Plugin 'itchyny/lightline.vim'
Plugin 'itchyny/calendar.vim' Plugin 'itchyny/calendar.vim'
Plugin 'davidhalter/jedi-vim' Plugin 'davidhalter/jedi-vim'
Plugin 'tpope/vim-surround' Plugin 'tpope/vim-surround'
Plugin 'ap/vim-buftabline'
Plugin 'wellle/targets.vim'
call vundle#end() " required call vundle#end() " required
filetype plugin indent on " required filetype plugin indent on " required