Commits

Steve Losh committed 2eb5091

more various shit

  • Participants
  • Parent commits 8bcaac8

Comments (0)

Files changed (15)

File pentadactylrc

 set showstatuslinks=command
 
 " FASTER PLEASE
-nmap -builtin j 3j
-nmap -builtin k 3k
+nmap -builtin -silent j 3j
+nmap -builtin -silent k 3k
 
 " Go to the second input field.
 " Useful for skipping over search fields, etc.
 
 " Train myself to use t instead of cmd-t
 nmap -builtin <m-t> <nop>
+
+" Apparently the d key broke at some point.  What the Christ?
+nmap -builtin d :tabclose<cr>

File vim/after/plugin/surround-mapping.vim

 " Use the old surround.vim key.  I can't deal with the new one.
-vmap s S
+xmap s <Plug>VSurround
+
+" Use S for something useful.
+vnoremap S :s/

File vim/custom-dictionary.utf-8.add

 reindent
 Javascript
 voicemail
+C2C
+ACH
+TBBK
+Arroway
+recon
+SFTP
+timestamp
+uuid
+UTC
+MoneyDrop
 set expandtab
 set wrap
 set textwidth=80
-set formatoptions=qrn1
+set formatoptions=qrn1j
 set colorcolumn=+1
 
 " }}}
 " Unfuck my screen
 nnoremap U :syntax sync fromstart<cr>:redraw!<cr>
 
+" Pushing
+nnoremap <leader>Go :Start! git push origin<cr>
+nnoremap <leader>Gu :Start! git push upstream<cr>
+nnoremap <leader>Hd :Start! hg push default<cr>
+nnoremap <leader>Hu :Start! hg push upstream<cr>
+
 " Easy filetype switching {{{
 
 nnoremap _md :set ft=markdown<CR>
 nnoremap D d$
 
 " Don't move on *
-nnoremap * *<c-o>
+" I'd use a function for this but Vim clobbers the last search when you're in
+" a function so fuck it, practicality beats purity.
+nnoremap <silent> * :let stay_star_view = winsaveview()<cr>*<c-o>:call winrestview(stay_star_view)<cr>
 
 " Jumping to tags.
 "
 augroup END
 
 " "Hub"
-nnoremap <leader>H :Gbrowse<cr>
 vnoremap <leader>H :Gbrowse<cr>
 
 " }}}

File weechat/alias.conf

 #
-# alias.conf -- WeeChat v0.3.8
+# alias.conf -- weechat v0.4.1
 #
 
 [cmd]

File weechat/buffers.conf

 #
-# buffers.conf -- WeeChat v0.3.8
+# buffers.conf -- weechat v0.4.1
 #
 
 [color]

File weechat/charset.conf

 #
-# charset.conf -- WeeChat v0.3.8
+# charset.conf -- weechat v0.4.1
 #
 
 [default]

File weechat/logger.conf

 #
-# logger.conf -- WeeChat v0.3.8
+# logger.conf -- weechat v0.4.1
 #
 
 [look]
 info_lines = off
 mask = "$plugin.$name.weechatlog"
 name_lower_case = on
+nick_prefix = ""
+nick_suffix = ""
 path = "%h/logs/"
 replacement_char = "_"
 time_format = "%Y-%m-%d %H:%M:%S"

File weechat/plugins.conf

 #
-# plugins.conf -- WeeChat v0.3.8
+# plugins.conf -- weechat v0.4.1
 #
 
 [var]
 fifo.fifo = "on"
+lua.check_license = "off"
 perl.buffers.color_current = "black,green"
 perl.buffers.color_default = "default"
 perl.buffers.color_hotlist_highlight = "lightmagenta"

File weechat/python/autoload/colon_complete.py

 SCRIPT_LICENSE='MIT/X11'
 SCRIPT_DESC='Add a colon after nick completion when all the previous words in the input are also nicks.'
 
+EXTRA_NICKS = ['all', 'backend', 'clojerks', 'ops', 'support']
+
 import_ok=True
 
 try:
 def get_nicks(buffer, prefix=''):
     channel = weechat.buffer_get_string(buffer, 'localvar_channel')
     server = weechat.buffer_get_string(buffer, 'localvar_server')
+    prefix = prefix.lower()
 
     matches = []
 
     infolist = weechat.infolist_get('irc_nick', '', '%s,%s' % (server, channel))
     while weechat.infolist_next(infolist):
         nick = weechat.infolist_string(infolist, 'name')
-        if nick != 'localhost' and nick.lower().startswith(prefix.lower()):
+        if nick != 'localhost' and nick.lower().startswith(prefix):
             matches.append(nick)
     weechat.infolist_free(infolist)
 
+    for nick in EXTRA_NICKS:
+        if nick.lower().startswith(prefix):
+            matches.append(nick)
+
     return matches
 
 def completer(data, buffer, command):

File weechat/relay.conf

 #
-# relay.conf -- WeeChat v0.3.8
+# relay.conf -- weechat v0.4.1
 #
 
 [look]
 raw_messages = 256
 
 [color]
+client = cyan
 status_active = lightblue
 status_auth_failed = lightred
 status_connecting = yellow
 allowed_ips = ""
 bind_address = ""
 compression_level = 6
+ipv6 = on
 max_clients = 5
 password = ""
+ssl_cert_key = "%h/ssl/relay.pem"
+websocket_allowed_origins = ""
+
+[irc]
+backlog_max_minutes = 1440
+backlog_max_number = 256
+backlog_since_last_disconnect = on
+backlog_tags = "irc_privmsg"
+backlog_time_format = "[%H:%M] "
 
 [port]

File weechat/rmodifier.conf

 #
-# rmodifier.conf -- WeeChat v0.3.8
+# rmodifier.conf -- weechat v0.4.1
 #
 
 [look]

File weechat/urlgrab.conf

 #
-# urlgrab.conf -- WeeChat v0.3.8
+# urlgrab.conf -- weechat v0.4.1
 #
 
 [color]

File weechat/weechat.conf

 main.buffer = "irc;simple.##/b/anksimple;5"
 main.buffer = "irc;simple.#c2c;6"
 main.buffer = "irc;simple.#ops;7"
-main.buffer = "irc;simple.#security;8"
-main.buffer = "irc;simple.##@;9"
-main.buffer = "irc;simple.#support;10"
-main.buffer = "irc;simple.##vim;11"
-main.buffer = "irc;simple.##dance;12"
-main.buffer = "irc;simple.##adorbs;13"
-main.buffer = "irc;sjl.##simple;14"
-main.buffer = "irc;simple.##portland;15"
-main.buffer = "irc;simple.##music;16"
-main.buffer = "irc;bit.&bitlbee;17"
-main.buffer = "irc;sjl.#riemann;18"
-main.buffer = "irc;sjl.#mercurial;19"
-main.buffer = "irc;sjl.#clojure;20"
-main.buffer = "irc;sjl.#weechat;21"
-main.buffer = "irc;sjl.#mutt;22"
-main.buffer = "irc;sjl.#nethack;23"
-main.buffer = "irc;sjl.#dwarffortress;24"
-main.buffer = "irc;sjl.#scala;25"
-main.buffer = "irc;sjl.#lisp;26"
-main.buffer = "irc;sjl.#vagrant;27"
-main.buffer = "irc;sjl.#amara_alumni;28"
-main.buffer = "irc;sjl.#postgresql;29"
-main.window = "1;0;0;0;irc;simple.##music"
+main.buffer = "irc;simple.#frontend;8"
+main.buffer = "irc;simple.#internal;9"
+main.buffer = "irc;simple.#security;10"
+main.buffer = "irc;simple.##@;11"
+main.buffer = "irc;simple.#support;12"
+main.buffer = "irc;simple.##vim;13"
+main.buffer = "irc;simple.##dance;14"
+main.buffer = "irc;simple.##adorbs;15"
+main.buffer = "irc;sjl.##simple;16"
+main.buffer = "irc;simple.##music;17"
+main.buffer = "irc;bit.&bitlbee;18"
+main.buffer = "irc;sjl.#riemann;19"
+main.buffer = "irc;sjl.#mercurial;20"
+main.buffer = "irc;sjl.#clojure;21"
+main.buffer = "irc;sjl.#weechat;22"
+main.buffer = "irc;sjl.#mutt;23"
+main.buffer = "irc;sjl.#nethack;24"
+main.buffer = "irc;sjl.#dwarffortress;25"
+main.buffer = "irc;sjl.#scala;26"
+main.buffer = "irc;sjl.#lisp;27"
+main.buffer = "irc;sjl.#vagrant;28"
+main.buffer = "irc;sjl.#amara_alumni;29"
+main.buffer = "irc;sjl.#postgresql;30"
+main.window = "1;0;0;0;irc;simple.#internal"
 main.current = on
+_zoom.window = "1;0;0;0;irc;simple.##vim"
 
 [notify]
 

File weechat/xfer.conf

 #
-# xfer.conf -- WeeChat v0.3.8
+# xfer.conf -- weechat v0.4.1
 #
 
 [look]
 [file]
 auto_accept_chats = off
 auto_accept_files = off
+auto_accept_nicks = ""
 auto_rename = on
 auto_resume = on
 convert_spaces = on