#vimrc

2025-06-16

Why the heck does set columns=84 in ~/.gvimrc cause starting gvim to output 0;22R0;83V to stdout each time?

#gvim #vim #vimrc

2025-03-20

I don't usually need my vimrc when I'm editing something w/ sudo -- but I really need to remember `sudoedit` or `sudo -e` for when I do ... (just wanted to :ALEFix some json because I don't want to think about the linter/fixer under the hood)

#vimrc #shell

Pum van de Koppelpumvandekoppel@zirk.us
2025-03-10

i'm very honored to find a vim configuration option named after me:
set wildoptions = pum

#vim #vimrc

2024-04-24

It's 2024 anf currently I'm reading about #makefile. For the same project I've been reading about #vimrc. And yeah, this all feels right.

In the last days I've run into a tainted kernel panic which I could only solve because of my years of #gentoo and #portage.

And yeah - all of this feels really good and right!

𝕽𝕺𝖄 𝕸𝕬𝕿𝕳𝖀𝕽roymathur
2024-01-22
2023-10-31

Guten Morgen Welt! Meine Versuche mit #nixos werden immer besser. Thema #vimrc habe ich auch verstanden. Auf jeden Fall lerne ich viel dabei.

2023-10-27

oha keine #vimrc für #vim in #nixos - da muss ich mich aber umstellen. Mal sehen ... wie geht das denn hier?

pancake :radare2:pancake@infosec.exchange
2023-08-06

My #vimrc i wrote 20 years ago and still in use today

" pancake's exposee for vim:
let fs=0
fun Exposee()
if (g:fs == 0)
res 1000
vertical res 1000
let g:fs=1
else
exe "normal \<C-W>="
let g:fs=0
endif
endfun
map <F10> :call Exposee()<cr>

"some nice keymappings
map <F1> :vsp<cr>
map <F2> :sp<cr>
map <F3> :sp<cr>:e .<cr>
map <F4> :q<cr>
map <F5> <C-W>=

map <C-A> :FZF<cr>
imap <C-O> <ESC><C-X><C-O>

" fine zooming
map <C-J> 2<C-W>+
map <C-K> 2<C-W>-
map <C-L> 2<C-W>>
map <C-H> 2<C-W><

" fine frame moving
map <C-Y> <C-W>h
map <C-U> <C-W>j
map <C-I> <C-W>k
map <C-O> <C-W>l

2023-08-06

My #vimrc is too long for one toot:

" Enable line numbers
set number
" Enable syntax highlighting
syntax on
" Highlight current line
set cursorline
" Make tabs as wide as two spaces
set tabstop=2
" Show “invisible” characters
set lcs=tab:▸\ ,trail:·,eol:¬,nbsp:_
set list
" Highlight searches
set hlsearch
" Ignore case of searches
set ignorecase
" Highlight dynamically as pattern is typed
set incsearch
" Always show status line
set laststatus=2
" Enable mouse in all modes
set mouse=a

2023-08-05

I'm afraid to post my real #vimrc because it's full of frivolous plugins I'd get roasted for, and anyway I mostly use neovim these days, but here's what I start with when I need a halfway sane editor on a remote machine:

:set sw=4 ts=4 et ai lbr

RIP, Bram. I had very brief interactions with him, when I sent a PR on GitHub and he politely informed me that's not how we do things and to send an email. (Then I accidentally became maintainer of the syntax file I was trying to edit.)

2023-08-05

among the many i like

set nowrap
set colorcolumn=80

#vimrc

2023-06-13
vim autosave backup
2023-01-23

Someone `set nobinary` in my #vim #vimrc!

#nonbinary #enby #nb

2022-12-30

I just added this to my #vimrc, which allows me to toggle the numbered and relative lines I use, for easy copying when in a terminal emulator:

nnoremap <leader>n :set nu! relativenumber!<cr>

What are your favorite custom config lines?

#linux #MacOS #vim #neovim

2022-12-24

Just spent 20 seconds finally adding a single space to my #vimrc file that I've been meaning to add for at least a couple of years now, and should save me (a copyeditor/proofreader/typesetter of academics' #latex manuscripts) a couple of minutes every day...

That's a full day squandered. Dwarfed by the overall savings of using #vim of course, but still. A stitch in time, or somesuch..

@philiph This is my "standard" vimrc these days, I have gotten way, way more stuff crammed into one in the past with vim bundles and plugins and and... but this works pretty well for my needs.

ix.io/4hqu

#vim #vimrc

When I'm editing, I don't like mouse clicking and selecting in a term window to engage visual mode, so years ago I set this in my .vimrc and in my .config/nvim/init.vim:

set mouse-=a

This worked for a long time, and continues to work in vim, but I recently observed mouse-based selecting started engaging visual mode in neovim. The following update to init.vim will fix it:

set mouse=

#vim #neovim #vimrc

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst