Skip to content

Instantly share code, notes, and snippets.

@samdoiron
Created April 12, 2019 21:21
Show Gist options
  • Save samdoiron/52c3c26eb9457e85d0d4ee2bcf43fcf4 to your computer and use it in GitHub Desktop.
Save samdoiron/52c3c26eb9457e85d0d4ee2bcf43fcf4 to your computer and use it in GitHub Desktop.
" --------------------------------
" Plugins
" --------------------------------
call plug#begin('~/.local/share/nvim/plugged')
Plug 'drewtempelmeyer/palenight.vim'
Plug '/usr/local/opt/fzf'
Plug 'junegunn/fzf.vim'
call plug#end()
" --------------------------------
" General config
" --------------------------------
set number
set autoindent smartindent
set termguicolors
let mapleader = ' '
" Autosave on content change
autocmd TextChanged,TextChangedI * silent write
" Changing buffers
nnoremap <C-h> <C-w><left>
nnoremap <C-l> <C-w><right>
nnoremap <C-j> <C-w><down>
nnoremap <C-k> <C-w><up>
" Fuzzy find
nnoremap <C-f> :Files<cr>
" Saving muscle memory
nnoremap <C-s> :w!<cr>
inoremap <C-s> :w!<cr>
nnoremap <leader>ef :e ~/.config/nvim/init.vim<cr>
let g:palenight_terminal_italics=1
colorscheme palenight
" Look, I paid good money for this italic font
highlight Comment cterm=italic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment