Skip to content

Commit

Permalink
.ackrc added to the distribution
Browse files Browse the repository at this point in the history
installation/update now doesn't link bin and README.rst
Vim: paste mode now turns cursorline off because white characters in the
underlined line were considered as spaces
  • Loading branch information
ambv committed Jun 10, 2010
1 parent 73d0e40 commit ab95d31
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ackrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--type-set=rest=.rst
--nojs
--nohtml
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def obtain_machine_type():
target = os.path.join(options.dir, ".%s" % entry)

if entry.startswith('.') or entry.endswith('~') or \
entry in ('install.py', ):
entry in ('install.py', 'bin', 'README.rst'):
continue
elif entry == 'profile_machine':
if not machine_type:
Expand Down
4 changes: 2 additions & 2 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ function Paste_toggle(insert_mode)
""" toggling between paste mode and normal mode; includes removing
""" mouse support and numbering (for terminal cut&paste purposes)
if &paste || (a:insert_mode != 0 && !&number)
set nopaste number mouse=a
set nopaste number cursorline mouse=a
else
set paste nonumber mouse=
set paste nonumber nocursorline mouse=
endif
endfunction
command PasteToggle :call Paste_toggle(0)
Expand Down

0 comments on commit ab95d31

Please sign in to comment.