From 0381a50f10bd3649a61d6e246224eb8023b30d66 Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 9 Sep 2017 23:07:43 -0700 Subject: add scribus files to rifle --- .config/ranger/rifle.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index cf7e9e7..4f1aa8b 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -137,6 +137,8 @@ ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, fla ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@" ext od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric|rtf, has libreoffice, X, flag f = libreoffice "$@" +ext sla, has scribus, X, flag f = scribus "$@" + #------------------------------------------- # Images #------------------------------------------- -- cgit v1.2.3 From f0a556fc35600e7e3b426a2557e51e76d9877539 Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 9 Sep 2017 23:12:58 -0700 Subject: source local zsh-syntax-highlighting on freebsd --- .zshrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.zshrc b/.zshrc index 848413f..600e2f0 100644 --- a/.zshrc +++ b/.zshrc @@ -77,11 +77,14 @@ fi ################# HIGHLIGHTING ################ -if [[ -f '/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' ]]; then - source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -else - source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -fi +local HIGHLIGHT_DIR='~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' +[[ -f '/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' ]] && \ + HIGHLIGHT_DIR='/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' +[[ -f '/usr/local/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' ]] && \ + HIGHLIGHT_DIR='/usr/local/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' + +source $HIGHLIGHT_DIR + ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern) #ZSH_HIGHLIGHT_STYLES[alias]="fg=yellow" -- cgit v1.2.3 From 39d486ad6bf9ed92257e97c6b159e058d5438d7f Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 9 Sep 2017 23:16:50 -0700 Subject: fix typo --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 600e2f0..00073fd 100644 --- a/.zshrc +++ b/.zshrc @@ -80,8 +80,8 @@ fi local HIGHLIGHT_DIR='~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' [[ -f '/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' ]] && \ HIGHLIGHT_DIR='/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' -[[ -f '/usr/local/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' ]] && \ - HIGHLIGHT_DIR='/usr/local/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' +[[ -f '/usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' ]] && \ + HIGHLIGHT_DIR='/usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' source $HIGHLIGHT_DIR -- cgit v1.2.3 From 150ffa898bb6714ea15f13f9df5ef2972dc7d04f Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 22 Sep 2017 21:28:17 -0700 Subject: remove extraneous plugin --- .vimrc | 2 -- 1 file changed, 2 deletions(-) diff --git a/.vimrc b/.vimrc index c7395f4..456608f 100644 --- a/.vimrc +++ b/.vimrc @@ -40,8 +40,6 @@ Plugin 'sjl/gundo.vim' Plugin 'itchyny/lightline.vim' -Plugin 'dermusikman/sonicpi.vim' - Plugin 'tomtom/tcomment_vim' call vundle#end() -- cgit v1.2.3 From d937ba61393192da32a4bc4f7af1930f48b01b0b Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 22 Sep 2017 21:50:02 -0700 Subject: add gundo keybinding this way won't forget it exists again, maybe X_X --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 456608f..cc0a29b 100644 --- a/.vimrc +++ b/.vimrc @@ -58,6 +58,9 @@ nmap ga (EasyAlign) "timeout on keycodes to prevent fcitx-switcher from lagging set ttimeoutlen=100 +"toggle gundo pane +nnoremap u :GundoToggle + "lightline colours. modded from 16color function! s:Lightline_palette_init() let l:black = [ '#000000', 0 ] -- cgit v1.2.3 From 27a5a4ad68430d1a983d54f97634a4c4c0b71e5d Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 23 Sep 2017 01:00:37 -0700 Subject: markdown settings how i hadn't added these already i've no idea --- .vimrc | 74 ++++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 40 insertions(+), 34 deletions(-) diff --git a/.vimrc b/.vimrc index cc0a29b..75625f7 100644 --- a/.vimrc +++ b/.vimrc @@ -223,33 +223,34 @@ autocmd BufNewFile,BufRead *.mips set filetype=mips "other filetype-specific settings. i can't figure out how to stick all "the FileTypes in one dict (mostly because i have no idea what i'm "doing with viml), so separate lines it is. -autocmd FileType asm call Settings_asm() -autocmd FileType bash call Settings_shell() -autocmd FileType c call Settings_c() -autocmd FileType coffee call Settings_coffee() -autocmd FileType conf call Settings_conf() -autocmd FileType cpp call Settings_c() -autocmd FileType css call Settings_css() -autocmd FileType d call Settings_c() -autocmd FileType elixir call Settings_elixir() -autocmd FileType tex call Settings_tex() -autocmd FileType haskell call Settings_haskell() -autocmd FileType html call Settings_html() -autocmd FileType xhtml call Settings_html() -autocmd FileType make call Settings_script() -autocmd FileType matlab call Settings_matlab() -autocmd FileType mips call Settings_mips() -autocmd FileType mkd call Settings_text() -autocmd FileType perl call Settings_perl() -autocmd FileType php call Settings_html() -autocmd FileType python call Settings_script() -autocmd FileType ruby call Settings_ruby() -autocmd FileType rust call Settings_rust() -autocmd FileType scss call Settings_css() -autocmd FileType sh call Settings_script() -autocmd FileType text call Settings_text() -autocmd FileType vim call Settings_vim() -autocmd FileType zsh call Settings_shell() +autocmd FileType asm call Settings_asm() +autocmd FileType bash call Settings_shell() +autocmd FileType c call Settings_c() +autocmd FileType coffee call Settings_coffee() +autocmd FileType conf call Settings_conf() +autocmd FileType cpp call Settings_c() +autocmd FileType css call Settings_css() +autocmd FileType d call Settings_c() +autocmd FileType elixir call Settings_elixir() +autocmd FileType tex call Settings_tex() +autocmd FileType haskell call Settings_haskell() +autocmd FileType html call Settings_html() +autocmd FileType xhtml call Settings_html() +autocmd FileType make call Settings_script() +autocmd FileType markdown call Settings_markdown() +autocmd FileType matlab call Settings_matlab() +autocmd FileType mips call Settings_mips() +autocmd FileType mkd call Settings_text() +autocmd FileType perl call Settings_perl() +autocmd FileType php call Settings_html() +autocmd FileType python call Settings_script() +autocmd FileType ruby call Settings_script() +autocmd FileType rust call Settings_rust() +autocmd FileType scss call Settings_css() +autocmd FileType sh call Settings_script() +autocmd FileType text call Settings_text() +autocmd FileType vim call Settings_vim() +autocmd FileType zsh call Settings_shell() function! Settings_asm() "settings @@ -320,7 +321,18 @@ function! Settings_html() setlocal tabstop=4 setlocal softtabstop=4 "mappings - nnoremap -- O-->hhhi3hi3hi3hi