-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
49 lines (38 loc) · 960 Bytes
/
.vimrc
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
44
45
46
47
48
49
set nocompatible
"==============
" Begin Vundle
"==============
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle
Plugin 'VundleVim/Vundle.vim'
Plugin 'junegunn/fzf'
Plugin 'sheerun/vim-polyglot'
Plugin 'tpope/vim-fugitive'
Plugin 'airblade/vim-gitgutter'
set updatetime=100
call vundle#end()
filetype plugin indent on
"==============
" End Vundle
"==============
set number
syntax on
" https://stackoverflow.com/a/1675752
" ,space:·
set list
set listchars=tab:>-,trail:~
noremap <F5> :set list!<CR>
inoremap <F5> <C-o>:set list!<CR>
cnoremap <F5> <C-c>:set list!<CR>
hi SpecialKey ctermfg=DarkGray
" Show status line with full filename
"set laststatus=2
"set statusline+=%F
" Keep my fingers on the home row
nnoremap <Left> :echoe "Try h"<CR>
nnoremap <Right> :echoe "Try l"<CR>
nnoremap <Up> :echoe "Try k"<CR>
nnoremap <Down> :echoe "Try j"<CR>