commit 23b4fa4f3d641a3f3c14280678dc4179c79fb078 parent 742bba217fccc71cb048578b782a63061656b6a0 Author: Robbie D <git@robertdherb.com> Date: Tue, 31 Dec 2019 13:56:10 -0600 Why isn't this here? Diffstat:
.vimrc | | | 27 | +++++++++++++++++++++++++++ |
1 file changed, 27 insertions(+), 0 deletions(-)
diff --git a/.vimrc b/.vimrc @@ -0,0 +1,27 @@ +syntax enable +set number +set tabstop=4 +filetype indent on +set shiftwidth=4 +set autoindent +set smartindent +set showmatch +set incsearch +set hlsearch +set backspace=indent,eol,start + +"Allows j and k to move through wrapped lines +nnoremap j gj +nnoremap k gk + +" use qqq to escape modes +inoremap qqq <esc> + +" allows cursor change in tmux +if exists('$TMUX') +" let $&_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\" + let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\" +else + let &t_SI = "\<Esc>]50;CursorShape=1\x7" + let &t_EI = "\<Esc>]50;CursorShape=0\x7" +endif