summary refs log tree commit diff
path: root/.config/nvim/init.vim
blob: 4abd42cbe3e0cc41fa5d6e37e49de5d0e5694773 (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
31
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 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_contrast_dark = 'hard'
"let g:gruvbox_invert_selection = 0
"let g:gruvbox_vert_split = 'bg0'
"colorscheme gruvbox
colorscheme subtle

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

execute pathogen#infect()