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

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>

colorscheme lame

autocmd BufNewFile,BufRead *.asm,*.mac setf nasm
autocmd FileType c setlocal shiftwidth=4

execute pathogen#infect()