aboutsummaryrefslogtreecommitdiffstats
path: root/vim/nvim/init.lua
blob: fe378f0b6b821096a4e617fdc33a1cfe190c19fa (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
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1

require('plugins')


require('keybindings')
require('config')

vim.api.nvim_exec(
[[
silent!
syntax on

set number
highlight LineNr ctermfg=darkgrey
highlight NormalFloat ctermbg=NONE

filetype plugin indent on
set tabstop=4
set shiftwidth=4
set expandtab

set signcolumn=number
let g:airline_theme='lucius'
set termguicolors
colorscheme onedark
highlight Normal guibg=NONE
highlight Comment cterm=italic gui=italic

let g:vimtex_view_method = 'zathura'

" Use ctrl-[hjkl] to select the active split!
nmap <silent> <c-k> :wincmd k<CR>
nmap <silent> <c-j> :wincmd j<CR>
nmap <silent> <c-h> :wincmd h<CR>
nmap <silent> <c-l> :wincmd l<CR>
]],
false)