Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
edensg7787y... and being humbled by its ubiquity and POWER
Best case scenario, that is. I've definitely found it handy to know the basics, but it does take time to learn. Be strong! -
agentQ23457yI've been using Vim since February. And I still don't know how to copy and paste between vim files. I googled it, tried it, it worked, then I forget again.
Anyone know how to set up your own hotkeys instead? -
agentQ23457y@WildOrangutan do I edit .vimrc in... VIM? Just kidding. Thanks for the pointer. I'll have a look see.
-
@agentQ
Follow a tutorial to edit some basic Vimrc rules. Then browse through github searching for other people's configs, copying items you like. Don't copy a whole config without understanding what it does.
Then install vimplug (in my opinion the best plugin manager), and browse https://vimawesome.com for useful plugins. Install, config and learn to use them one by one to not overwhelm yourself with new stuff. -
In your CLI type vimtutor
This is installed by default with vim.
man vim or man any package (on linux) gives a manual -
gberginc4517y@agentQ all you actually have to remember is that yank (y) copies selection into register and paste (p) pastes it. To choose the registry use "<registry-name>y (or p). System clipboard is * (or +).
You can quite easily create new keyboard mappings in your ~/.vimrc, for example
" ctrl-c to copy system clipboard
vmap <C-c> "*y
" ctrl-x cut to system clipboard
vmap <C-x> "*c
" ctrl-v paste and override current selection
vmap <C-v> c<ESC>"*p
" ctrl-v (insert mode) paste (mapping will first exit insert, paste the text using "*p and then return to insert mode right after your text
imap <C-v> <ESC>"*pa
Keep in mind that ctrl-v is also used for block selection, which means you might need to choose a different shortcut. -
@QueenMorgana just trying to figure out how to use the damn thing. It's so configurable and there's so much it can do.
-
Snob20927yIn case you are still using it, try esc and then type :wq
I wish you good luck and may you be with us soon!
Related Rants
-
orto13Assembly! I bow down to the devs who came before meπ
-
stereohisteria6My first day in a Linux admin and security course. I went all confident and cocky waiting for some bullshit li...
-
Voxera2Years ago we had a visit from a startup company developing a firewall and I got the chance to talk with one of...
Trying out vim for the first time.
undefined
wk68