diff options
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -8,6 +8,7 @@ set fileencodings=ucs=bom,utf-8,utf-16,gbk,big5,gb18030,latin1 set showcmd set autoread set mouse=a +filetype on filetype indent on set modeline set textwidth=72 @@ -63,10 +64,6 @@ set shiftwidth=4 set expandtab set softtabstop=4 -autocmd FileType html setlocal shiftwidth=2 softtabstop=2 expandtab -autocmd FileType css setlocal shiftwidth=2 softtabstop=2 expandtab -autocmd FileType javascript setlocal shiftwidth=2 softtabstop=2 expandtab - set wrap "set nowrap "set wrapmargin=4 @@ -103,15 +100,13 @@ set tags=./.tags;,.tags let mapleader=',' " change the key <leader> nnoremap <leader>cd :cd %:p:h<CR> :pwd<CR> -source ~/.vim/plugin/init.vim source ~/.vim/keybindings.vim source ~/.vim/notes.vim -silent colorscheme onedark - highlight Pmenu ctermbg=grey set exrc if !empty(glob('~/.vim_local')) source ~/.vim_local endif + |