Commit Graph

207 Commits (8f9698bf75ff0f55f112f74ad56f878ea3b564d1)

Author SHA1 Message Date
nirenjan 5150fa0893 Add Unicode switch to launch tmux from alias 2014-03-18 22:04:23 -07:00
nirenjan 30d5fabf2b Add vim-bufferline to install list
Also add associated settings file to configure vim-bufferline
2014-03-17 22:37:19 -07:00
nirenjan 17a66de254 Configure wildmode for bash-like completion 2013-12-26 13:25:49 -08:00
nirenjan 50fdc80ae7 Remove whitespace detection from vim-airline 2013-10-21 15:13:53 -07:00
nirenjan 8b8b485086 Add commands to set executable permission on file
The deploy script was simply redirecting the contents of the files into
the target files, however, they were getting created without executable
permissions. Since this script is designed to deploy executables, it is
required to set the executable permissions.

This cannot be done in the deployment configuration file however,
because the script parses all the input files first before extracting
the relevant contents. Therefore, if we try to run chmod +x within the
file, it would fail because the file would not exist yet (or run deploy
twice).

This commit also cleans up the formatting when building the command line
so that each command is set up on it's own line.
2013-10-17 11:59:09 -07:00
nirenjan 3e68eb0970 Add commands to set executable permission on file
The deploy script was simply redirecting the contents of the files into
the target files, however, they were getting created without executable
permissions. Since this script is designed to deploy executables, it is
required to set the executable permissions.

This cannot be done in the deployment configuration file however,
because the script parses all the input files first before extracting
the relevant contents. Therefore, if we try to run chmod +x within the
file, it would fail because the file would not exist yet (or run deploy
twice).

This commit also cleans up the formatting when building the command line
so that each command is set up on it's own line.
2013-10-17 11:59:09 -07:00
nirenjan d0d937cc9c Add deploy script to install files from Git repos
Deploy files are bash scripts with a couple of extra commands - namely
the repo, target and file commands. This allows a user to specify a
deployment file with a source repository, destination folder and
specific Git version to extract.
2013-10-16 21:41:04 -07:00
nirenjan 5ab3d000a3 Add deploy script to install files from Git repos
Deploy files are bash scripts with a couple of extra commands - namely
the repo, target and file commands. This allows a user to specify a
deployment file with a source repository, destination folder and
specific Git version to extract.
2013-10-16 21:41:04 -07:00
nirenjan 0a74f2f6ad Remove the temporary file before exiting mlog 2013-09-30 20:46:50 -07:00
nirenjan 952067e854 Remove the temporary file before exiting mlog 2013-09-30 20:46:50 -07:00
nirenjan b12608e5a0 Remove custom bindings for pane zooming
tmux 1.8 has native zooming bound to <prefix>z by default.
2013-09-27 11:40:19 -07:00
nirenjan 8da558be6b Print a full 80-char separator in mlog 2013-09-17 15:00:36 -07:00
nirenjan 758c1a88ee Print a full 80-char separator in mlog 2013-09-17 15:00:36 -07:00
nirenjan 2891d59259 Add supplemental log handling to mlog
This also takes care of deleting temp log files
2013-09-10 14:05:00 -07:00
nirenjan a44e75119c Add supplemental log handling to mlog
This also takes care of deleting temp log files
2013-09-10 14:05:00 -07:00
nirenjan ce03c06b17 Script to track daily work items
Work items are logged against a monthly file, so you can quickly see at
a glance what your activities were for the last month
2013-09-09 23:59:34 -07:00
nirenjan d37bb6c9ce Script to track daily work items
Work items are logged against a monthly file, so you can quickly see at
a glance what your activities were for the last month
2013-09-09 23:59:34 -07:00
nirenjan 29fc3c0bb2 Install vim-airline plugin and add settings file
Vim's statusline is now handled by the vim-airline plugin. This commit
removes the statusline cruft from vimrc and adds a tiny airline-settings
plugin to configure airline.
2013-08-15 08:37:38 -07:00
nirenjan fec04c7037 Add applygitconfig script
Simple Perl script to apply a git config from any gitconfig file
2013-08-09 19:34:27 -07:00
nirenjan 95c8ad2490 Add applygitconfig script
Simple Perl script to apply a git config from any gitconfig file
2013-08-09 19:34:27 -07:00
nirenjan 7bc98cc69d Add new settings to gitconfig 2013-08-09 19:16:15 -07:00
nirenjan 7f0e20cfef Fix comment in stardate script 2013-08-07 15:47:54 -07:00
nirenjan 7ceee1933a Fix comment in stardate script 2013-08-07 15:47:54 -07:00
nirenjan 6edec73441 Remove unused plugins 2013-07-31 23:35:44 -07:00
nirenjan 1a48f9538e Add markdown files to ftplugin and ftdetect dirs 2013-07-31 23:26:41 -07:00
nirenjan ce278e2527 Use xterm-256color as default terminal in tmux 2013-07-30 12:15:50 -07:00
nirenjan 0b65aa901d Add ftdetect folder to install script
This was missed out by the last commit, and I had to manually create the
folder before realizing that the script should have done it.
2013-07-18 11:35:15 -07:00
nirenjan 38cdcca69f Add SWIG ftdetect plugin 2013-07-17 17:14:20 -07:00
nirenjan b1a3521a21 Add vim-fugitive to bundles 2013-07-12 16:05:25 -07:00
nirenjan 81c44dec83 Add aliases for commonly used applications 2013-07-09 18:54:26 -07:00
nirenjan 44b02f6886 Add vim editing settings for changelog files
Also add new changelog.vim file to the install list.
2013-07-03 14:15:24 -07:00
nirenjan 0589da50a1 Fix macro recording in Vim 2013-06-30 22:30:36 -07:00
nirenjan 48c3f9dcbc Disable syntax on in vimrc
Since there's already a syntax enable line, having syntax on is
redundant. Also, it allows plugins to override the default colors,
rather than using the default Solarized colors
2013-06-20 12:45:01 -07:00
nirenjan 601d1020ec Enable M-# keys to select windows in tmux 2013-06-19 17:29:59 -07:00
nirenjan 3d0719c5f7 Update tmux colors and move status bar to top
The change to move the status bar to the top is only compatible with
tmux 1.8
2013-06-19 15:30:59 -07:00
nirenjan f77b4eeb77 Fix prompt for commands over SSH
When executing commands over SSH, such as SCP, the server (tput)
complains that there is no terminal defined. This fix sets the T_*
variables only if the TERM variable is not empty.
2013-06-18 11:36:50 -07:00
nirenjan b42371a079 Adjust status bar colors in tmux
With Terminal.app, the background color was getting set to base02
instead of base03, therefore, I had to use base03 (brightblack) to
distinguish the tmux status bar from the rest of the screen. It would
be a problem with vim (not so much really, since I could figure out
where the tmux status bar was based on the vim status line).

However, since iTerm2 is a better terminal emulator, it correctly
displays the background color as base03, so in order to distinguish the
status bar, I changed the color to base02 (black) instead.
2013-06-14 10:08:00 -07:00
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