This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using XQuartz (2.6.0), you have to clear Mod1 in order for the Super and Alt keys to take effect. This configuration requires that "Option keys send Alt_L and Alt_R" checkbox is set in Preferences. | |
clear Mod1 | |
clear Mod4 | |
clear Mod2 | |
keycode 66 = Alt_L | |
keycode 63 = Super_L | |
add Mod2 = Alt_L | |
add Mod4 = Super_L |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install gtk2 via macports | |
Download vim 7.3, extract, cd into the directory | |
$ ./configure --enable-rubyinterp --enable-gui=gtk2 --disable-darwin | |
$ make | |
This works when running vim/gvim with ruby | |
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.3.1] | |
but not | |
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this goes in your ~/.gtkrc-2.0 file | |
style "vimfix" { | |
bg[NORMAL] = "#242424" # this matches my gvim theme 'Normal' bg color. | |
} | |
widget "vim-main-window.*GtkForm" style "vimfix" | |
# taken from a very helpful post here: https://bbs.archlinux.org/viewtopic.php?id=65285 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear Mod2 | |
clear Mod4 | |
keycode 66 = Meta_L | |
keycode 63 = Super_L | |
add Mod2 = Meta_L | |
add Mod4 = Super_L |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XTerm*metaSendsEscape: true | |
XTerm*eightBitInput: false |
NewerOlder