summary refs log tree commit diff
path: root/.config/nvim/init.vim
blob: ded27aaf67e12d927c2ccb35fbdd41f517d76de8 (plain) (blame)
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
set hidden
set shortmess=atI visualbell
set wildmode=list:longest

set ignorecase smartcase
set tabstop=4 expandtab shiftwidth=2 shiftround smartindent
set undofile

set title
set ruler showcmd
set scrolloff=1
set number cursorline colorcolumn=80,100
set list listchars=tab:»·,trail:·

nmap <leader><leader> :nohlsearch<CR>

set splitbelow splitright
map <ScrollWheelUp> <C-Y>
map <ScrollWheelDown> <C-E>

execute 'set background=' . ($ITERM_PROFILE != '' ? $ITERM_PROFILE : 'dark')
let $NVIM_TUI_ENABLE_TRUE_COLOR = 1
let g:gruvbox_italic = 0
let g:gruvbox_invert_selection = 0
let g:gruvbox_vert_split = 'bg0'
colorscheme gruvbox

autocmd BufNewFile,BufRead *.asm,*.mac setf nasm

execute pathogen#infect()