-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
39 lines (32 loc) · 693 Bytes
/
vimrc
File metadata and controls
39 lines (32 loc) · 693 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
syntax on
let leader = ","
inoremap kj <esc>
set number
set mouse=a
set shiftwidth=4
set tabstop=4
set expandtab
set nobackup
set nowrap
set incsearch
set ignorecase
set showcmd
set hlsearch
call plug#begin()
Plug 'junegunn/fzf.vim'
Plug 'tomtom/tcomment_vim'
Plug 'davidhalter/jedi-vim'
Plug 'cocopon/iceberg.vim'
Plug 'vim-scripts/Spacegray.vim'
call plug#end()
set background=dark
colorscheme iceberg
" colorscheme spacegray
" Restore cursor to last position when opening file
augroup restore_cursor_on_open
autocmd!
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
augroup END