All of lore.kernel.org
 help / color / mirror / Atom feed
* Simple but sufficient .vimrc settings in case someone needs it.
@ 2022-06-21  5:41 Amit
  0 siblings, 0 replies; only message in thread
From: Amit @ 2022-06-21  5:41 UTC (permalink / raw)
  To: linux-kernel

Simple but sufficient .vimrc settings in case someone needs it.

set hlsearch
set ts=4
set expandtab
set shiftwidth=4

set autoindent
set smartindent

syntax on

set formatoptions+=r

set colorcolumn=81
highlight ColorColumn ctermbg=black ctermfg=white

if has("autocmd")
  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") |
exe "normal! g'\"" | endif
endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-21  5:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21  5:41 Simple but sufficient .vimrc settings in case someone needs it Amit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.