summaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
blob: d6745cc3fe69e246ac7d132b2afe8416a03935b0 (plain)
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
" "
" Plugins
" "

call plug#begin(stdpath('data') . '/plugged')

Plug 'gruvbox-community/gruvbox'

Plug 'preservim/nerdtree'
Plug 'ryanoasis/vim-devicons'

call plug#end()


" "
" Config
" "

set shiftwidth=4
set nu rnu
set mouse=a

colorscheme gruvbox
hi Normal guibg=NONE ctermbg=NONE

let g:NERDTreeShowHidden=1


" "
" Keys
" "

map <C-b> :NERDTreeToggle<CR>

nnoremap <A-Left> <C-w><Left>
nnoremap <A-Up> <C-w><Up>
nnoremap <A-Right> <C-w><Right>
nnoremap <A-Down> <C-w><Down>

map <ESC><C-c> <CR>
nnoremap <silent> <C-s> :w<CR>