A few people know I am a vim aficionado, and I figured I could share a little bit of my vim knowledge on this blog. While browsing the r/vim subreddit a while ago I found a little piece of vim configuration that lets you have a vertical bar for the cursor in terminal vim, using gnome-terminal as a terminal emulator.
Without further ado, here’s the snippet, which you can put in your .vimrc
, for example.
1 2 3 4 5 |
|
Those of you using gvim
might already have this, since the feature is builtin and might only need to be enabled.
If you use gnome-terminal in Linux, on the other hand, this is not natively supported, and it might be on your nice-to-have list, especially if you use tmux.