Skip to content

Instantly share code, notes, and snippets.

@oLeVanNinh
oLeVanNinh / autocommands.vim
Created October 9, 2019 01:27 — forked from jdhao/autocommands.vim
My Neovim configurations for both terminal and gui (using nvim-qt). Repo: https://github.com/jdhao/nvim-config
"{ Auto commands
" Do not use smart case in command line mode,
" extracted from https://goo.gl/vCTYdK
augroup dynamic_smartcase
autocmd!
autocmd CmdLineEnter : set nosmartcase
autocmd CmdLineLeave : set smartcase
augroup END
" Set textwidth for text file types