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

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

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

execute pathogen#infect()