Skip to content

Instantly share code, notes, and snippets.

@yochem
Last active March 16, 2020 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yochem/69babc7f634d0ee4bfbeca771e3f9366 to your computer and use it in GitHub Desktop.
Save yochem/69babc7f634d0ee4bfbeca771e3f9366 to your computer and use it in GitHub Desktop.
comfy.vim
set autoindent
set smartindent
set smarttab
set tabstop=8 softtabstop=4 shiftwidth=4 expandtab
set nostartofline
set number
set relativenumber
set scrolloff=3
set backspace=indent,eol,start
set mouse=a
set nocompatible
set ttyfast
set laststatus=2
set gdefault
set hlsearch
set wrapscan
set ignorecase
set syntax
nnoremap n nzz
set timeoutlen=250
nmap oo m`o<Esc>``
nmap OO m`O<Esc>``
nnoremap <expr> j v:count ? 'j' : 'gj'
nnoremap <expr> k v:count ? 'k' : 'gk'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment