5 ms·
I have a simple one too-- set number setlocal cm=blowfish2 set noswapfile set nobackup set nowritebackup set viminfo= set tabstop=4
by hackerbrother 4y ago
I have a simple one too--
set number
setlocal cm=blowfish2
set noswapfile
set nobackup
set nowritebackup
set viminfo=
set tabstop=4
set softtabstop=0 noexpandtab
set shiftwidth=4
set noundofile
set backspace=indent,eol,start
set autoindent
set smartindent
set cindent
autocmd BufRead,BufNewFile *.vue setfiletype html
colorscheme morning
map Q <Nop>
map q <Nop>
noremap x "_x
let &t_ut=''
if has("gui_running")
:set guifont=Cascadia_Mono:h16:cANSI:qDRAFT
endif
- baobob 4y agoDon't forget "set all&" to clear out hellish busted distro / local corp IT defaults
- philsnow 4y ago> map q <Nop> you turn off macro recording? any particular reason why?
- Anthony-G 4y agoNot the person you’re replying to but I’d guess that they don’t ever record macros and just find it to be an annoyance if they accidentally press the Q key by accident.
- philsnow 4y agoYou're probably right; vim macros are almost the entire reason I personally prefer vim to vi, I can't imagine not using them.