-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
64 lines (53 loc) · 1.81 KB
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
"----------------------------------------------------------------
" plugins
"----------------------------------------------------------------
call plug#begin('~/.vim/plugged')
Plug 'flazz/vim-colorschemes'
Plug 'brooth/far.vim'
" Plug '~/Projects/far.vim'
call plug#end()
"----------------------------------------------------------------
" misc
"----------------------------------------------------------------
filetype plugin indent on
set wildmenu
set showcmd
exec 'set path='.getcwd().','.getcwd().'/**'
set undodir=$HOME/.vim/undo//
set noswapfile
"----------------------------------------------------------------
" search/replace/subtitude
"----------------------------------------------------------------
set smartcase
set ignorecase
set incsearch
set hlsearch
"no hightlight
nmap <F3> :noh<CR>
imap <F3> <esc>:noh<CR>
"far.vim
let g:far#debug = 1
let g:far#window_width = 60
let g:far#auto_preview = 1
let g:far#preview_window_height = 7
let g:far#auto_write_replaced_buffers = 0
let g:far#check_window_resize_period = 0
let g:far#file_mask_favorites = ['%', '**/*.*', '**/*.py', '**/*.vim', '**/*.txt']
"----------------------------------------------------------------
" indent/tab/spaces
"----------------------------------------------------------------
set tabstop=4
set shiftwidth=4
set softtabstop=4
set cursorline
set nowrap
"----------------------------------------------------------------
" files/types
"----------------------------------------------------------------
set wildignore+=*/.git/*
"----------------------------------------------------------------
" theme
"----------------------------------------------------------------
colorscheme gruvbox
set background=dark
set t_Co=256