-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
40 lines (29 loc) · 757 Bytes
/
.vimrc
File metadata and controls
40 lines (29 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
set nocompatible
set number
filetype plugin indent on
if (&t_Co > 2 || has("gui_running")) && !exists("syntax_on")
syntax on
endif
set tabstop=2
set shiftwidth=2
set shiftround
set expandtab
" Display wxtra whitespaces
set list listchars=tab:»·,trail:·,nbsp:·
set textwidth=80
set colorcolumn=+1
nnoremap <Left> :echoe "Use h"<CR>
nnoremap <Right> :echoe "Use l"<CR>
nnoremap <Up> :echoe "Use k"<CR>
nnoremap <Down> :echoe "Use j"<CR>
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-h> <C-w>h
nnoremap <C-l> <C-w>l
" Remove trailing whitespace
nnoremap <Leader>tw :%s/\s\+$//e<CR>
set laststatus=2
" i https://github.com/junegunn/vim-plug
"call plug#begin()
"Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
"call plug#end()