X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/blobdiff_plain/659ae7fab748ad1b71068df2b20621f2d1bccb9d..7b0dcd743f2bf1eb9b9a80d886ca296d2b6b5fbb:/.vimrc diff --git a/.vimrc b/.vimrc index 6792882..e77a213 100644 --- a/.vimrc +++ b/.vimrc @@ -5,6 +5,8 @@ set background=dark "In order to display chinese in GBK let &termencoding=&encoding set fileencodings=utf-8,gbk +set fileformat=unix +set foldmethod=manual set t_Co=256 "terminal color set t_ut="" @@ -51,7 +53,6 @@ set path+=/usr/include,/usr/include/c++/* set path+=/usr/local/include set path+=~/lib - " Writes to the unnamed register also writes to the * and + registers. This " makes it easy to interact with the system clipboard if has ('unnamedplus') @@ -116,6 +117,8 @@ let g:ycm_auto_hover = 'no' let mapleader = " " nnoremap J :tabprevious nnoremap K :tabnext +nnoremap J :tabmove -1 +nnoremap K :tabmove +1 nnoremap h nnoremap j nnoremap k