Pages

Tuesday 28 August 2012

Computer: Give me ű betű

Ah, I am Hungarian, however, recently I changed to a GB keyboard. I was really missing letter ű So I did:
xmodmap -e "keycode  94 = backslash bar backslash bar U00171 U00170 d"
So that when I press Right Alt + \ I have my ű, with Shift, I have my Ű

Special thanks goes to: Black Eternal and Bill Beiga

Wednesday 8 August 2012

tmux, gvim automation

tmux

List panes
tmux list-panes
Select a pane
tmux select-pane -t 0
Send Ctrl-P and Ctrl-N to pane #1
tmux send-keys -t 1 C-p C-m

gvim

you will need gvim to do these things

Start vim as a server
vim --servername "coding"
Send a message to vim
vim --servername "coding" --remote-send '<Esc>:!ls<CR>'