Showing posts with label vim. Show all posts
Showing posts with label vim. Show all posts

Saturday, January 18, 2014

... I hit a wall when trying to use right click to paste with putty into a tmux window

Not an issue I'd ever thought I'd come up against, but not being able to paste from my browser into a tmux window is quite the show stopper.

Googled for a while and found all sorts of scripts to aid me in my quest to get a line of text from the browser into a file I'd opened in vim running inside tmux.

Along came this post and the damn SHIFT key.

Hold shift while right clicking to paste into a tmux window.
The joy!

Wednesday, May 16, 2012

Using Vim Tabs Instead of Multiple Vim Instances

... I found out that you can open multiple files in tabs with one instance of vim, instead of across multiple instances of vims in different terminal windows!

vim -p *.py
Will open all python source files in the current directory in tabs inside vim.

gt and gT will move forwards and backwards in your tab list.

If you want to create a new tab with vim already running, use the following command:
:tabnew
Yeow!