-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc-minimal
69 lines (61 loc) · 1.12 KB
/
.vimrc-minimal
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
65
66
67
68
69
set nocompatible
syntax enable
set shell=/bin/bash
set number
set relativenumber
set linebreak
set nowrap
set hlsearch
set incsearch
set ignorecase
set smartcase
set autoread
set cmdheight=2
set hidden
set showmatch
set confirm
set lazyredraw
set noswapfile
set nobackup
set nowritebackup
set wildmenu
set showcmd
set mouse=a
set encoding=utf-8
set fileencodings=utf-8,cp1251
set updatetime=300
set shortmess+=c
filetype plugin on
filetype plugin indent on
set path+=**
" Set python path
let g:python3_host_prog='/usr/bin/python3'
filetype indent on
set autoindent
set copyindent
set smartindent
set shiftwidth=4
set softtabstop=4
set tabstop=4
set smarttab
set expandtab
set splitbelow
set splitright
let mapleader=' '
nnoremap <Leader><Leader> <C-^>
nnoremap <tab> <c-w>w
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
nnoremap <silent> <CR> :nohlsearch<CR><CR>
set foldenable
set foldmethod=syntax
set foldlevel=999
set foldlevelstart=10
" Enable folding with the leader-f/a
nnoremap <leader>f za
nnoremap <leader>caf zM
nnoremap <leader>oaf zR
set termguicolors
colorscheme gruvbox