| pkrumins | psykidellic, i tried windowsize and it gave an error, columns & lines worked. and to change font in gVim, set guifont i prefere tiny Lucida console 8pts what fonts do you use? is there a way to reload the vimrc / gvimrc w/o quitting gVim? |
| frogonwheels | you can :so it but that doesn'thelp if you've commented stuff out |
| pkrumins | thanks Suppose I create a few tabs, are there any default shortcuts to switch between tabs? |
| frogonwheels | gt |
| SAS_Spidey01 | replce tags with spaces ? tabs* |
| frogonwheels | pkrumins: ctrl+pageup and ctrl+pagedown |
| pkrumins | Also, do you know a shortcut for creating a new tab? I currently type :tabnew gonna change ctrol+pageup and ctrl+pagedown to ctrl+h and ctrl+l as analogy with arrow keys h l to move to the left and right tab |
| frogonwheels | <c-w>T takes the current buffer to a new tab :help tab-page-commands SAS_Spidey01: you mean :set expandtab :retab |
| psykidellic | pkrumins, not windowsize but winsize pkrumins, winzize work for gVim running on Mac OS X here |
| SAS_Spidey01 | wow, never knew about retab. Always used 1,$s/<tab char>/<spaces wanted>/g |
| pkrumins | psykidellic, oh. frogonwheels, thanks reading that. one more question, what shortcuts are to fold/unfold? |
| frogonwheels | if you use my smarttabs script http://vim.sourceforge.net/scripts/script.php?script_id=231 it has a version of :Retab as well :) |
| psykidellic | does anybody know what would be the equivalent of <save as>??? :o newfile creates a new blank file |
| SAS_Spidey01 | :he fold-options |
| pkrumins | i watched a video lecture on Vim by its author @ google tech lectures and he suggested to check where you spend your time and if you notice you are repeating same thing over and over again then look up and use a shorter version for the same action. SAS_Spidey01, thanks |
| frogonwheels | :saveas |
| psykidellic | frogonwheels, thanks...how absurdly simple! |
| frogonwheels | psykidellic: :saveas - combines :f <fname> and :w :f just renames the buffer but doesn't write it. |
| psykidellic | frogonwheels, aaah. thanks |
| frogonwheels | :w <Fname> just writes it to the new file but doesn't change the buffer :w %.copy very useful |
| pkrumins | how do I map CTRL-h to :tabp command? no matter what mode i am in i'd like CTRL-h to switch to the previous tab |