-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
43 lines (34 loc) · 834 Bytes
/
Copy pathvimrc
File metadata and controls
43 lines (34 loc) · 834 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
41
42
43
set number
" set mouse=in
let mapleader = ","
let g:mapleader = ","
nmap <leader>w :w!<cr>
" SO - Scroll Offset tries to keep the cursor X lines from the
" bottom of the screen
set so=5
" Turn on the wild menu for command-line completion
set wildmenu
set ignorecase
set smartcase
syntax enable
set nobackup
set smarttab
" Tab conf
set shiftwidth=4
set tabstop=4
set autoindent
set wrap
" Window movement
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-h> <C-w>h
map <C-l> <C-w>l
" Statusline stoof
set laststatus=2
set statusline=%F " Truncated path
set statusline+=\ %y " Display filetype
set statusline+=%= " Switch to right side
set statusline+=Line:\ " Separator
set statusline+=%4l/%-4L " Display line/LINES
set statusline+=Col:\ " Separator
set statusline+=%3c\ -\ %-4v " Display col - vcol