Skip to content

Commit a09b8bb

Browse files
committed
updated pythonrc to remove osx specific stuf, added aliases to
gitconfig, and updated vimrc for some gvim stuff
1 parent 41a925b commit a09b8bb

6 files changed

Lines changed: 20 additions & 4 deletions

File tree

‎_gitconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,13 @@
1212

1313
[core]
1414
editor = vim
15+
16+
[alias]
17+
diverges = !bash -c 'diff -u <(git rev-list --first-parent "${1}") <(git rev-list --first-parent "${2:-HEAD}") | sed -ne \"s/^ //p\" | head -1' -
18+
st = status
19+
ci = commit
20+
br = branch
21+
co = checkout
22+
df = diff
23+
lg = log -p
24+

‎_pythonrc.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
print("You need readline, rlcompleter, and atexit")
1616

1717
readline.parse_and_bind("tab: complete")
18-
readline.parse_and_bind ("bind ^I rl_complete")
18+
# this is needed for OSX, doesn't work in Linux
19+
#readline.parse_and_bind ("bind ^I rl_complete")
1920

2021
class Completer(object):
2122
def __init__(self):

‎_vim/bundle/command-t‎

‎_vim/bundle/pydoc‎

‎_vim/bundle/surround‎

‎_vimrc‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,11 @@ set incsearch " Incrementally search while typing a /regex
225225
"""" Display
226226
if has("gui_running")
227227
colorscheme solarized
228+
" Remove menu bar
229+
set guioptions-=m
230+
231+
" Remove toolbar
232+
set guioptions-=T
228233
else
229234
colorscheme torte
230235
endif

0 commit comments

Comments
 (0)