General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
DistroTube
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "Vim Tips And Tricks Some Of My Favorite Vim Commands" video.
@sub-harmonik As in, I want to edit this file, just kidding?
3
I like to use tabs and line numbers in vim, so in my ~/.vimrc I've got: set number relativenumber set showtabline=2 " tabe for opening a file in a tab, just hit enter to make it unnamed nmap \t :tabe nmap <Tab> :tabn<cr> nmap <S-Tab> :tabp<cr>
3
And if you add c to the end of the line with :%s it will ask about each replacement so you can reject it selectively.
2
I'm curious why you'd calculate that way as opposed to just echo $(( ... )) or echo '...' | bc -ql ?
1
Add a c at the end to have it ask about each substitution as well.
1