-
108 votes
-
TIL that in vim, you can press <C-Tab> (or g<Tab>) to jump to the last accessed tab page
Previously I used to have this in my .vimrc: if !exists('g:lasttab') let g:lasttab = 1 endif nmap <C-Tab> :exe "tabn ".g:lasttab<CR> au TabLeave * let g:lasttab = tabpagenr() Courtesy of:...
Previously I used to have this in my .vimrc:
if !exists('g:lasttab') let g:lasttab = 1 endif nmap <C-Tab> :exe "tabn ".g:lasttab<CR> au TabLeave * let g:lasttab = tabpagenr()
Courtesy of: https://stackoverflow.com/a/2120168
But while going through the help docs today, I stumbled across this mapping and am glad to find that this now exists by default. When it got added, however, I don't know.
18 votes -
Comparing my favorite fonts for reading and writing code
37 votes -
Revontuli - A high-contrast-ish colorscheme for code editors, KDE Plasma, etc.. Also for Tildes!
17 votes -
Modern IDEs are magic. Why are so many coders still using Vim and Emacs?
13 votes -
Bill Joy's greatest gift to man – the vi editor (2003)
7 votes -
Onivim 2: First round of MIT commits have been released
12 votes -
How Vim became so popular
22 votes -
vim_cubed
13 votes -
Rx - An extensible pixel editor inspired by Vi
9 votes -
Humble Book Bundle: Linux & UNIX by O'Reilly
8 votes -
Firenvim - embed Neovim in to Firefox/Chrome
12 votes -
Learn Vimscript the Hard Way
6 votes -
Onivim 2 pre-alpha is out!
9 votes -
History and effective use of Vim
6 votes -
What is your personal preference and why: vim or emacs?
This is of course the age old debate, which on other sites has been known to quickly devolve (one of the Internet ‘holy wars’ of yore). Nonetheless, I am curious. I personally use vim. Part of the...
This is of course the age old debate, which on other sites has been known to quickly devolve (one of the Internet ‘holy wars’ of yore). Nonetheless, I am curious.
I personally use vim. Part of the reason is surely that it is just the first one of the two that I happened to use, and thus by the time I tried emacs I was used to vim. But more broadly, I enjoy using vim because once you get over the hump of ‘weird’ commands and modes, I feel that vim most closely emulates the feelings and thought process that you have when building something with your hands. You can pick up different tools, yank pieces out and rearrange them, turn the object around in your hands to see different parts, etc etc. Once you internalize the movement and editing you really start flying around. At that point the interface seems less like a barrier between you and the text and more like a way to ‘hold’ it.
Of course, people have different preferences.
15 votes -
How I'm able to take notes in mathematics lectures using LaTeX and Vim
20 votes -
A little appreciation for Vim's 'g' command
12 votes -
Using Vim to take time-stamped notes
8 votes -
How to send keybase chats from inside Vim
2 votes -
Where Vim Came From
20 votes