summaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim.bak
blob: 46f946c489d4b302d32693fa83aab30816f0b9a9 (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
" Plugged stuff
call plug#begin('~/.vim/plugged')
        Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
        Plug 'vim-airline/vim-airline'
        Plug 'scrooloose/nerdtree'
call plug#end()

let g:go_highlight_functions = 1
let g:go_highlight_functions_parameters = 1
let g:go_highlight_functions_calls = 1
map <C-\> :NERDTreeToggle<CR>

    
" basic stuff
syntax on
set relativenumber
set number
set wrap!
set expandtab
set tabstop=4
set hlsearch!
set nocompatible
set encoding=utf-8

" search stuff
set ignorecase
set smartcase

" Split keys
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l

" Color scheme
" source ~/.vim/storm-contrast.vim