Commit Graph

220 Commits (45044ab177d530c1e1486d6c487cfdff633f83b1)

Author SHA1 Message Date
nirenjan 68a3f822a0 Add tComment bundle to install script 2013-05-22 16:45:48 -07:00
nirenjan 9cbe3fa7db Make tmux use C-s as the prefix key
This eases usage with readline and avoids XOFFing your screen everytime
you hit C-s by accident. This change also modifies a couple of key
bindings, such as using C-s C-s to switch to the last window, and C-s
M-k to clear the scrollback history and C-s C-y to toggle pane sync
2013-05-21 08:36:58 -07:00
nirenjan 5250b6eee2 Delete old pathogen install code
Requires the user to manually delete any older instances of pathogen.vim
2013-05-21 07:56:56 -07:00
nirenjan 6c44c6aa3a Improve install script to handle Bundles
Can now specify vim plugin bundles as short forms. Eg.:
- tpope/vim-pathogen - goes to github.com/tpope/vim-pathogen.git
- vimwiki - goes to github.com/vim-scripts/vimwiki.git
- any other form is not modified and passed straight through

Can also specify the transport mechanism to use when installing bundles.
This has no impact when updating bundles, since these will use the
remote url specified in the git repo.

Can also specify not to update existing bundles with a command line
switch.
2013-05-21 00:01:35 -07:00
nirenjan bf4a150e14 Treat pathogen as a bundle 2013-05-21 00:00:56 -07:00
nirenjan dff9c41948 Add bash aliases 2013-05-20 22:41:56 -07:00
nirenjan 64bba9a07b Fix Perl folding in ftplugin
Complies with Vim 7.x perl.vim
2013-05-18 12:16:43 -07:00
nirenjan ab84dd5b4b Clean up vimrc & modify statusline 2013-05-17 00:24:35 -07:00
nirenjan 6c0aa48dda Fix match-brackets.vim plugin to use inoremap 2013-05-16 23:46:53 -07:00
nirenjan 342b6a9775 Rename sdate script to 'stardate' 2013-05-16 13:36:35 -07:00
nirenjan a1b0e38245 Rename sdate script to 'stardate' 2013-05-16 13:36:35 -07:00
nirenjan 77cc345af4 Update install script lnfile functionality
This allows me to specify the destination folder if the link name
doesn't need to be changed, i.e., if I want to install
vim/ftplugin/ruby.vim, I no longer need to specify the following line:
lnfile vim/ftplugin/ruby.vim ~/.vim/ftplugin/ruby

Instead, I can simply give the destination folder, just terminate it
with a slash character as follows:
lnfile vim/ftplugin/ruby.vim ~/.vim/ftplugin/
2013-05-16 13:30:15 -07:00
nirenjan 1507f357e4 Move tab expansion to individual ftplugins
Update install script to add the ftplugins and remove the old
tab-expand.vim plugin from the installation list.
2013-05-15 17:32:48 -07:00
nirenjan 5b5df1b002 Create Perl ftplugin for Perl syntax folding
Remove corresponding section from vimrc and add plugin file to install
script.
2013-05-14 15:43:38 -07:00
nirenjan cf3ab85868 Disable Ex mode in vimrc 2013-05-14 15:31:03 -07:00
nirenjan a6c3eea9df Add snipMate bundle to install script 2013-05-14 15:22:59 -07:00
nirenjan a6cba07000 Add Vimwiki bundle to install script 2013-05-10 17:44:16 -07:00
nirenjan db27bcebf2 Enable filetype plugins in Vim for vimwiki 2013-05-10 17:41:41 -07:00
nirenjan b7b2630d67 Fix long-lines plugin
Either display colorcolumn, or syntax highlight Error, not both.
2013-05-09 09:18:03 -07:00
nirenjan cf2cd69b13 Fix PS1 in bash
Without \[ \] wrapping, bash was getting confused where the cursor actually
was. This fixes that problem.
2013-05-08 23:30:36 -07:00
nirenjan cbb52a3db2 Improve precision on stardate script
There is a possibility that for every 0.1 stardates (8640 seconds),
the final 0.05 stardate would get rounded up (432 seconds). This kind
of inaccuracy is unacceptable by Starfleet standards, so I've reduced
the inaccuracy to 5e-10 stardates or 43.2 microseconds.
2013-05-03 22:26:43 -07:00
nirenjan 66f3164bda Improve precision on stardate script
There is a possibility that for every 0.1 stardates (8640 seconds),
the final 0.05 stardate would get rounded up (432 seconds). This kind
of inaccuracy is unacceptable by Starfleet standards, so I've reduced
the inaccuracy to 5e-10 stardates or 43.2 microseconds.
2013-05-03 22:26:43 -07:00
nirenjan 489813cdc8 Fix creating symlink for the first time 2013-05-03 22:15:12 -07:00
nirenjan 612f7915e3 Add git_prompt.sh download to install 2013-05-03 22:06:18 -07:00
nirenjan 76792ae62e Merge branch 'install' 2013-05-03 21:10:58 -07:00
nirenjan 1a96abc073 Install script - final version 2013-05-03 21:08:21 -07:00
nirenjan 00991e9d89 First version of install script 2013-05-02 21:47:06 -07:00
nirenjan 372a2e13e0 Fix stardate script to truncate instead of round 2013-05-01 22:43:36 -07:00
nirenjan 9d02e9d8d0 Fix stardate script to truncate instead of round 2013-05-01 22:43:36 -07:00
nirenjan b9098890e3 Create tab-expand plugin for vim
This moves from a one-size-fits-all approach for tab expansion to
dictating a default expansion scheme and a per filetype scheme. The
current plugin has custom schemes for Ruby and Makefiles.
2013-04-12 15:10:38 -07:00
nirenjan d1d2ec1ec5 Reformat smartwd indentation to compy with Ruby coding guidelines 2013-04-12 15:07:39 -07:00
nirenjan 38a6c23cc8 Reformat smartwd indentation to compy with Ruby coding guidelines 2013-04-12 15:07:39 -07:00
nirenjan c8654cc971 Remove the next/previous window unbind-key's 2013-03-01 11:36:46 -08:00
nirenjan 7c28319adb Enable power detach in tmux configuration
Power detach works similar to screen's power detach.
^A D will detach the tmux session and send SIGHUP to the parent process.
2013-02-26 19:00:27 -08:00
nirenjan 01dee42ba2 Fix vim-undo for match-brackets plugin
Instead of using <ESC>i to get out of insert mode and reenter it at
the closing bracket, Vim accepts the use of <Left> to move the cursor
left without leaving insert mode. This allows undo and repeats to work.
2013-02-20 12:33:42 -08:00
nirenjan f962d96980 Fix smartwd script to ensure that it always works
With Ruby version 1.8.5, the smartwd script would abort with an error that
the shift method would take no arguments. Therefore, I have restricted the
use of the script to ruby version 1.8.7 and above.

On older versions, it will simply behave the same as \w in PS1 of bash.
2013-02-19 15:14:12 -08:00
nirenjan 4413d17282 Fix smartwd script to ensure that it always works
With Ruby version 1.8.5, the smartwd script would abort with an error that
the shift method would take no arguments. Therefore, I have restricted the
use of the script to ruby version 1.8.7 and above.

On older versions, it will simply behave the same as \w in PS1 of bash.
2013-02-19 15:14:12 -08:00
nirenjan c64326cd06 Enhance precision in sdate display 2013-02-19 15:00:03 -08:00
nirenjan 717dacdf67 Enhance precision in sdate display 2013-02-19 15:00:03 -08:00
nirenjan 1ffb0a9abe Fix beep script to always send ^G 2013-02-19 14:57:30 -08:00
nirenjan 445d1453b7 Fix beep script to always send ^G 2013-02-19 14:57:30 -08:00
nirenjan d19192c214 Add color configuration to gitconfig 2013-02-14 21:17:42 -08:00
nirenjan 3520ba84b6 Fix smartwd script and update PS1 in bashrc.common 2013-02-14 14:11:12 -08:00
nirenjan 48e6e5edcc Fix smartwd script and update PS1 in bashrc.common 2013-02-14 14:11:12 -08:00
nirenjan 8cf3f6d25b Add smartwd script - WIP 2013-02-14 10:57:42 -08:00
nirenjan 7e6df80ce8 Add smartwd script - WIP 2013-02-14 10:57:42 -08:00
nirenjan 9318f2551d Add license information 2013-02-12 16:42:08 -08:00
nirenjan 0b01047612 Disable vi mode in bash - too many problems 2013-02-11 16:06:48 -08:00
nirenjan 35eb2b8da8 Allow user to pass in grep pattern
This also disables the search by word, so to search only by word
boundaries, surround the pattern by \< and \>
2013-02-11 15:39:15 -08:00
nirenjan 4c99a14532 Allow user to pass in grep pattern
This also disables the search by word, so to search only by word
boundaries, surround the pattern by \< and \>
2013-02-11 15:39:15 -08:00