changed terminology in rake file to actuall make sense, misc enhancements
parent
fc9f465bce
commit
e1ea46e234
|
|
@ -33,8 +33,7 @@ function batteryPercent(){
|
|||
|
||||
# a shortcut for cloning from github
|
||||
# usage: clone user/repo <dir>
|
||||
function clone()
|
||||
{
|
||||
function clone() {
|
||||
if [ -z "$1" ]; then
|
||||
echo "Missing git repository url ending"
|
||||
echo "usage: clone 'git repository ending' ['target directory name']"
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ set-option -g status-left ' #h | Adam Veldhousen '
|
|||
#set-option -g status-right-bg green
|
||||
set-option -g status-right ' tmux is rad | %A %B %d, %Y %Ts '
|
||||
|
||||
# copy mode
|
||||
set-option buffer-limit 10
|
||||
|
||||
#window options
|
||||
|
|
|
|||
2
.vimrc
2
.vimrc
|
|
@ -256,7 +256,7 @@ let g:airline#extensions#branch#enabled = 1
|
|||
|
||||
" syntastic settings
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_auto_loc_list = 1
|
||||
" let g:syntastic_auto_loc_list = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
|
||||
|
|
|
|||
8
rakefile
8
rakefile
|
|
@ -7,14 +7,14 @@ pluginsFile = File.join(File.dirname(__FILE__), "#{vimFolder}/plugins.txt")
|
|||
|
||||
CLOBBER.include "#{bundles_dir}/*"
|
||||
|
||||
task :default => ['clobber', 'vim:install']
|
||||
task :default => ['clobber', 'vim:reinstall']
|
||||
|
||||
|
||||
namespace :vim do
|
||||
|
||||
directory "#{bundles_dir}"
|
||||
desc "reinstalls all vim plugins from #{vimFolder}/plugins.txt"
|
||||
task :install do
|
||||
task :reinstall do
|
||||
puts "loading plugins into #{bundles_dir}..."
|
||||
lines = IO.readlines pluginsFile
|
||||
puts "Loading #{lines.length} plugins..."
|
||||
|
|
@ -39,8 +39,8 @@ namespace :vim do
|
|||
end
|
||||
|
||||
|
||||
desc "Loads a new plugin and adds it to #{vimFolder}/plugins.txt"
|
||||
task :addPlugin, [:sourceName] do |t, args|
|
||||
desc "installs a new plugin and adds it to #{vimFolder}/plugins.txt"
|
||||
task :intall, [:sourceName] do |t, args|
|
||||
raise "Must specify git repo to pull from." unless args.sourceName not(nil)
|
||||
source = "git://github.com/#{args.sourceName}.git"
|
||||
puts "Adding to #{vimFolder}/plugins.txt"
|
||||
|
|
|
|||
Loading…
Reference in New Issue