this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Map ZZ to close current buffer or close Vim

+401 -32
+3
fish/functions/ag.fish
··· 1 + function ag 2 + rg $argv; 3 + end
+22 -2
iterm2/com.googlecode.iterm2.plist
··· 743 743 <key>Text</key> 744 744 <string></string> 745 745 </dict> 746 + <key>0x68-0x100000</key> 747 + <dict> 748 + <key>Action</key> 749 + <integer>2</integer> 750 + <key>Text</key> 751 + <string></string> 752 + </dict> 746 753 <key>0x68-0x40000</key> 747 754 <dict> 748 755 <key>Action</key> 749 756 <integer>10</integer> 750 757 <key>Text</key> 751 758 <string>[104;5u</string> 759 + </dict> 760 + <key>0x6c-0x100000</key> 761 + <dict> 762 + <key>Action</key> 763 + <integer>0</integer> 764 + <key>Text</key> 765 + <string></string> 752 766 </dict> 753 767 <key>0x9-0x40000</key> 754 768 <dict> ··· 888 902 <string>929 110 445 317 0 0 1440 878 </string> 889 903 <key>NSWindow Frame SUUpdateAlert</key> 890 904 <string>410 382 620 392 0 0 1440 900 </string> 905 + <key>NSWindow Frame SessionsPreferences</key> 906 + <string>269 126 606 469 0 0 1440 900 </string> 891 907 <key>NSWindow Frame SharedPreferences</key> 892 - <string>365 157 937 512 0 0 1440 900 </string> 908 + <string>451 183 958 433 0 0 1440 900 </string> 893 909 <key>NSWindow Frame UKCrashReporter</key> 894 910 <string>99 294 592 584 0 0 1440 878 </string> 895 911 <key>NSWindow Frame iTerm Window 0</key> ··· 2373 2389 <key>SUHasLaunchedBefore</key> 2374 2390 <true/> 2375 2391 <key>SULastCheckTime</key> 2376 - <date>2016-10-16T13:21:22Z</date> 2392 + <date>2016-10-20T09:42:15Z</date> 2377 2393 <key>SUSendProfileInfo</key> 2378 2394 <false/> 2379 2395 <key>Secure Input</key> ··· 2400 2416 <false/> 2401 2417 <key>iTerm Version</key> 2402 2418 <string>3.0.20160918-nightly</string> 2419 + <key>kCPKSelectionViewPreferredModeKey</key> 2420 + <integer>0</integer> 2421 + <key>kCPKSelectionViewShowHSBTextFieldsKey</key> 2422 + <false/> 2403 2423 </dict> 2404 2424 </plist>
+3
nvim/after/ftplugin/elixir.vim
··· 1 1 set makeprg=mix 2 2 3 + iabbrev mdoc @moduledoc 4 + iabbrev defm defmodule 5 + 3 6 ClearSwapList 4 7 5 8 SwapList defs def defp
+294
nvim/colors/ocean.vim
··· 1 + " base16-vim (https://github.com/chriskempson/base16-vim) 2 + " by Chris Kempson (http://chriskempson.com) 3 + " Ocean scheme by Chris Kempson (http://chriskempson.com) 4 + 5 + " This enables the coresponding base16-shell script to run so that 6 + " :colorscheme works in terminals supported by base16-shell scripts 7 + " User must set this variable in .vimrc 8 + " let g:base16_shell_path=base16-builder/output/shell/ 9 + if !has('gui_running') 10 + if exists("g:base16_shell_path") 11 + execute "silent !/bin/sh ".g:base16_shell_path."/base16-ocean.sh" 12 + endif 13 + endif 14 + 15 + " GUI color definitions 16 + let s:gui00 = "2b303b" 17 + let s:gui01 = "343d46" 18 + let s:gui02 = "4f5b66" 19 + let s:gui03 = "65737e" 20 + let s:gui04 = "a7adba" 21 + let s:gui05 = "c0c5ce" 22 + let s:gui06 = "dfe1e8" 23 + let s:gui07 = "eff1f5" 24 + let s:gui08 = "bf616a" 25 + let s:gui09 = "d08770" 26 + let s:gui0A = "ebcb8b" 27 + let s:gui0B = "a3be8c" 28 + let s:gui0C = "96b5b4" 29 + let s:gui0D = "8fa1b3" 30 + let s:gui0E = "b48ead" 31 + let s:gui0F = "ab7967" 32 + 33 + " Terminal color definitions 34 + let s:cterm00 = "00" 35 + let s:cterm03 = "08" 36 + let s:cterm05 = "07" 37 + let s:cterm07 = "15" 38 + let s:cterm08 = "01" 39 + let s:cterm0A = "03" 40 + let s:cterm0B = "02" 41 + let s:cterm0C = "06" 42 + let s:cterm0D = "04" 43 + let s:cterm0E = "05" 44 + if exists('base16colorspace') && base16colorspace == "256" 45 + let s:cterm01 = "18" 46 + let s:cterm02 = "19" 47 + let s:cterm04 = "20" 48 + let s:cterm06 = "21" 49 + let s:cterm09 = "16" 50 + let s:cterm0F = "17" 51 + else 52 + let s:cterm01 = "10" 53 + let s:cterm02 = "11" 54 + let s:cterm04 = "12" 55 + let s:cterm06 = "13" 56 + let s:cterm09 = "09" 57 + let s:cterm0F = "14" 58 + endif 59 + 60 + " Theme setup 61 + hi clear 62 + syntax reset 63 + let g:colors_name = "base16-ocean" 64 + 65 + " Highlighting function 66 + fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) 67 + if a:guifg != "" 68 + exec "hi " . a:group . " guifg=#" . a:guifg 69 + endif 70 + if a:guibg != "" 71 + exec "hi " . a:group . " guibg=#" . a:guibg 72 + endif 73 + if a:ctermfg != "" 74 + exec "hi " . a:group . " ctermfg=" . a:ctermfg 75 + endif 76 + if a:ctermbg != "" 77 + exec "hi " . a:group . " ctermbg=" . a:ctermbg 78 + endif 79 + if a:attr != "" 80 + exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr 81 + endif 82 + if a:guisp != "" 83 + exec "hi " . a:group . " guisp=#" . a:guisp 84 + endif 85 + endfun 86 + 87 + " Vim editor colors 88 + call <sid>hi("Bold", "", "", "", "", "bold", "") 89 + call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "") 90 + call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") 91 + call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "") 92 + call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") 93 + call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") 94 + call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") 95 + call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") 96 + call <sid>hi("IncSearch", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") 97 + call <sid>hi("Italic", "", "", "", "", "none", "") 98 + call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") 99 + call <sid>hi("MatchParen", s:gui00, s:gui03, s:cterm00, s:cterm03, "", "") 100 + call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") 101 + call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") 102 + call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "") 103 + call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") 104 + call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") 105 + call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "") 106 + call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "") 107 + call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "") 108 + call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") 109 + call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") 110 + call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "") 111 + call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") 112 + call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") 113 + call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") 114 + call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") 115 + call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") 116 + call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") 117 + call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") 118 + call <sid>hi("StatusLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") 119 + call <sid>hi("StatusLineNC", s:gui02, s:gui00, s:cterm02, s:cterm00, "none", "") 120 + call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") 121 + call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") 122 + call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") 123 + call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") 124 + call <sid>hi("CursorLineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") 125 + call <sid>hi("PMenu", s:gui04, s:gui01, s:cterm04, s:cterm01, "none", "") 126 + call <sid>hi("PMenuSel", s:gui01, s:gui04, s:cterm01, s:cterm04, "", "") 127 + call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") 128 + call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") 129 + call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") 130 + 131 + " Standard syntax highlighting 132 + call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "") 133 + call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "") 134 + call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "") 135 + call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "") 136 + call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "") 137 + call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") 138 + call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "") 139 + call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "") 140 + call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "") 141 + call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "") 142 + call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") 143 + call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") 144 + call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") 145 + call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") 146 + call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") 147 + call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") 148 + call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") 149 + call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") 150 + call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "") 151 + call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "") 152 + call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "") 153 + call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "") 154 + call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "") 155 + call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "") 156 + call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") 157 + call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") 158 + call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") 159 + 160 + " C highlighting 161 + call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") 162 + call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") 163 + 164 + " C# highlighting 165 + call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") 166 + call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") 167 + call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") 168 + call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "") 169 + call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") 170 + call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") 171 + call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") 172 + 173 + " CSS highlighting 174 + call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") 175 + call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") 176 + call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") 177 + 178 + " Diff highlighting 179 + call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") 180 + call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") 181 + call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") 182 + call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") 183 + call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") 184 + call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") 185 + call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") 186 + call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") 187 + call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") 188 + 189 + " Git highlighting 190 + call <sid>hi("gitCommitOverflow", s:gui08, "", s:cterm08, "", "", "") 191 + call <sid>hi("gitCommitSummary", s:gui0B, "", s:cterm0B, "", "", "") 192 + 193 + " GitGutter highlighting 194 + call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") 195 + call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") 196 + call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") 197 + call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") 198 + 199 + " HTML highlighting 200 + call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") 201 + call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") 202 + call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") 203 + call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") 204 + 205 + " JavaScript highlighting 206 + call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "") 207 + call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "") 208 + call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") 209 + 210 + " Mail highlighting 211 + call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") 212 + call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") 213 + call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") 214 + call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") 215 + call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") 216 + call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") 217 + call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") 218 + call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") 219 + 220 + " Markdown highlighting 221 + call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") 222 + call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "") 223 + call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") 224 + call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") 225 + 226 + " NERDTree highlighting 227 + call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") 228 + call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "") 229 + 230 + " PHP highlighting 231 + call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "") 232 + call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "") 233 + call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "") 234 + 235 + " Python highlighting 236 + call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") 237 + call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") 238 + 239 + " Ruby highlighting 240 + call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") 241 + call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") 242 + call <sid>hi("rubyInterpolation", s:gui0B, "", s:cterm0B, "", "", "") 243 + call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") 244 + call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") 245 + call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") 246 + call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") 247 + 248 + " SASS highlighting 249 + call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") 250 + call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") 251 + call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") 252 + call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") 253 + call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") 254 + 255 + " Signify highlighting 256 + call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") 257 + call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") 258 + call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") 259 + 260 + " Spelling highlighting 261 + call <sid>hi("SpellBad", "", s:gui00, "", s:cterm00, "undercurl", s:gui08) 262 + call <sid>hi("SpellLocal", "", s:gui00, "", s:cterm00, "undercurl", s:gui0C) 263 + call <sid>hi("SpellCap", "", s:gui00, "", s:cterm00, "undercurl", s:gui0D) 264 + call <sid>hi("SpellRare", "", s:gui00, "", s:cterm00, "undercurl", s:gui0E) 265 + 266 + let g:terminal_color_0 = "#" . s:gui00 267 + let g:terminal_color_1 = "#" . s:gui08 268 + let g:terminal_color_2 = "#" . s:gui0B 269 + let g:terminal_color_3 = "#" . s:gui0A 270 + let g:terminal_color_4 = "#" . s:gui0D 271 + let g:terminal_color_5 = "#" . s:gui0E 272 + let g:terminal_color_6 = "#" . s:gui0C 273 + let g:terminal_color_7 = "#" . s:gui05 274 + let g:terminal_color_8 = "#" . s:gui03 275 + let g:terminal_color_9 = "#" . s:gui09 276 + let g:terminal_color_10 = "#" . s:gui01 277 + let g:terminal_color_11 = "#" . s:gui02 278 + let g:terminal_color_12 = "#" . s:gui04 279 + let g:terminal_color_13 = "#" . s:gui06 280 + let g:terminal_color_14 = "#" . s:gui0F 281 + let g:terminal_color_15 = "#" . s:gui07 282 + let g:terminal_color_background = g:terminal_color_0 283 + let g:terminal_color_foreground = g:terminal_color_7 284 + if &background == "light" 285 + let g:terminal_color_background = g:terminal_color_7 286 + let g:terminal_color_foreground = g:terminal_color_2 287 + endif 288 + 289 + " Remove functions 290 + delf <sid>hi 291 + 292 + " Remove color variables 293 + unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F 294 + unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F
+16 -2
nvim/init.vim
··· 13 13 14 14 call plug#begin('~/.local/nvim/plugins') 15 15 16 + Plug 'mhinz/vim-startify' 17 + 16 18 " Visual 17 19 Plug 'ap/vim-buftabline' 18 - Plug 'chriskempson/base16-vim' 19 20 20 21 " Languages 21 22 Plug 'rust-lang/rust.vim' ··· 64 65 Plug 'tpope/vim-repeat' 65 66 Plug 'tpope/vim-unimpaired' 66 67 Plug 'junegunn/limelight.vim' 68 + Plug 'kana/vim-niceblock' 69 + Plug 'moll/vim-bbye' 67 70 68 71 call plug#end() 69 72 " }}} 70 73 " Colors {{{ 71 74 set termguicolors 72 75 set background=dark 73 - colorscheme base16-ocean 76 + colorscheme ocean 74 77 " }}} 75 78 " User interface {{{ 76 79 " Ignore all automatic files and folders ··· 155 158 " Leader {{{ 156 159 let mapleader = "\<space>" 157 160 " }}} 161 + nnoremap Y y$ 158 162 " Disable arrows {{{ 159 163 noremap <up> <nop> 160 164 noremap <down> <nop> ··· 171 175 nnoremap <expr> ^ virtcol('.') - 1 <= indent('.') && col('.') > 1 ? '0' : '_' 172 176 " }}} 173 177 " File closing {{{ 178 + func! Close() 179 + let l:bufcount = len(filter(range(1, bufnr('$')), 'buflisted(v:val)')) 180 + 181 + if l:bufcount == 1 182 + xit 183 + else 184 + update | Bdelete 185 + endif 186 + endfunc 187 + nnoremap ZZ :call Close()<CR> 174 188 nnoremap ZS :wa<CR> 175 189 nnoremap ZA :qa<CR> 176 190 nnoremap ZX :cq<CR>
+6 -2
nvim/plugin/ale.vim
··· 1 1 scriptencoding utf-8 2 2 3 - let g:ale_sign_error = '>>' 4 - let g:ale_sign_warning = '--' 3 + let g:ale_lint_delay = 1000 4 + 5 + let g:ale_sign_column_always = 1 6 + 7 + let g:ale_sign_error = '=>' 8 + let g:ale_sign_warning = '->' 5 9 6 10 let g:ale_statusline_format = ['⨉ %d', '⚠ %d', '⬥ ok'] 7 11 let g:ale_echo_msg_format = '[%linter%] %s'
+4 -1
nvim/plugin/projections.vim
··· 12 12 \ 'start': 'mix phoenix.server', 13 13 \ 'make': 'mix', 14 14 \ 'console': 'iex -S mix', 15 + \ 'dispatch': 'mix test', 15 16 \ }, 16 17 \ 17 18 \ 'test/*_test.exs': { ··· 46 47 \ 'web/router.ex': { 'type': 'router' }, 47 48 \ }, 48 49 \ 'Cargo.toml': { 49 - \ 'src/{}.rs': { 'type': 'source' } 50 + \ 'src/*.rs': { 'type': 'source' }, 51 + \ 'tests/*.rs': { 'type': 'test' }, 52 + \ 'benches/*.rs': { 'type': 'bench' }, 50 53 \ } 51 54 \}
+6
nvim/plugin/startify.vim
··· 1 + let g:startify_session_dir = '~/.local/nvim/sessions/' 2 + let g:startify_session_autoload = 1 3 + let g:startify_session_persistence = 1 4 + 5 + let g:startify_change_to_dir = 0 6 + let g:startify_change_to_vcs_root = 1
+9 -1
nvim/plugin/statusline.vim
··· 1 1 scriptencoding utf-8 2 2 3 - let &statusline="%<%2n » %f «%{&modified ? ' +' : ''}%=%4c:%l %{ALEGetStatusLine()} " 3 + func! StatuslineErrors() 4 + if &modifiable 5 + return ' '.ALEGetStatusLine().' ' 6 + else 7 + return '' 8 + endif 9 + endfunc 10 + 11 + let &statusline="%<%2n » %f «%{&modified ? ' +' : ''}%=%4c:%l %#Error#%{StatuslineErrors()}"
-18
nvim/plugin/terminal.vim
··· 9 9 tnoremap <C-w>j <C-\><C-n><C-w>j 10 10 tnoremap <C-w>k <C-\><C-n><C-w>k 11 11 tnoremap <C-w>l <C-\><C-n><C-w>l 12 - 13 - au BufEnter term://* startinsert 14 - let g:terminal_color_0 = "#2a3158" 15 - let g:terminal_color_1 = "#e27878" 16 - let g:terminal_color_2 = "#89b8c2" 17 - let g:terminal_color_3 = "#e4aa80" 18 - let g:terminal_color_4 = "#84a0c6" 19 - let g:terminal_color_5 = "#d1a8ad" 20 - let g:terminal_color_6 = "#adc1cb" 21 - let g:terminal_color_7 = "#c6c8d1" 22 - let g:terminal_color_8 = "#444b71" 23 - let g:terminal_color_9 = "#e2a478" 24 - let g:terminal_color_10 = "#b4be82" 25 - let g:terminal_color_11 = "#d8e599" 26 - let g:terminal_color_12 = "#3e445e" 27 - let g:terminal_color_13 = "#673e43" 28 - let g:terminal_color_14 = "#686f9a" 29 - let g:terminal_color_15 = "#d4d5db"
+38 -6
nvim/plugin/vsearch.vim
··· 11 11 set cpo&vim 12 12 13 13 function! s:VSetSearch(type, ...) 14 - let temp = @@ 14 + let l:temp = @@ 15 15 if a:0 16 16 silent exe 'norm! gvy' 17 17 elseif a:type ==# 'line' ··· 22 22 23 23 let @/ = '\V' . substitute(escape(@@, '\'), '\n', '\\n', 'g') 24 24 call histadd('/', substitute(@/, '[?/]', '\="\\%d".char2nr(submatch(0))', 'g')) 25 - let @@ = temp 25 + let @@ = l:temp 26 + endfunction 27 + 28 + function! s:VSearchAndReplaceFw(type, ...) 29 + let l:temp = @@ 30 + if a:0 31 + silent exe 'norm! gvy' 32 + elseif a:type ==# 'line' 33 + silent exe "normal! '[V']y" 34 + else 35 + silent exe 'normal! `[v`]y' 36 + endif 37 + 38 + let @/ = '\V' . substitute(escape(@@, '\'), '\n', '\\n', 'g') 39 + call histadd('/', substitute(@/, '[?/]', '\="\\%d".char2nr(submatch(0))', 'g')) 40 + call feedkeys('cgn', 'n') 41 + let @@ = l:temp 42 + endfunction 43 + 44 + function! s:VSearchAndReplaceBc(type, ...) 45 + let l:temp = @@ 46 + if a:0 47 + silent exe 'norm! gvy' 48 + elseif a:type ==# 'line' 49 + silent exe "normal! '[V']y" 50 + else 51 + silent exe 'normal! `[v`]y' 52 + endif 53 + 54 + let @/ = '\V' . substitute(escape(@@, '\'), '\n', '\\n', 'g') 55 + call histadd('/', substitute(@/, '[?/]', '\="\\%d".char2nr(submatch(0))', 'g')) 56 + call feedkeys('cgN', 'n') 57 + let @@ = l:temp 26 58 endfunction 27 59 28 60 xnoremap <Plug>(vsearch-search-selected-forward) :<C-u>call <SID>VSetSearch(visualmode(), 1)<CR>/<CR> ··· 31 63 xnoremap <Plug>(vsearch-change-selected-forward) :<C-u>call <SID>VSetSearch(visualmode(), 1)<CR>:set hlsearch<CR>cgn 32 64 xnoremap <Plug>(vsearch-change-selected-backward) :<C-u>call <SID>VSetSearch(visualmode(), 1)<CR>:set hlsearch<CR>cgN 33 65 34 - nnoremap <Plug>(vsearch-change-word-forward) *Ncgn 35 - nnoremap <Plug>(vsearch-change-word-backward) #Ncgn 66 + nnoremap <Plug>(vsearch-change-word-forward) :set operatorfunc=<SID>VSearchAndReplaceFw<CR>g@ 67 + nnoremap <Plug>(vsearch-change-word-backward) :set operatorfunc=<SID>VSearchAndReplaceBc<CR>g@ 36 68 37 69 xmap * <Plug>(vsearch-search-selected-forward) 38 70 xmap # <Plug>(vsearch-search-selected-backward) ··· 40 72 xmap s <Plug>(vsearch-change-selected-forward) 41 73 xmap S <Plug>(vsearch-change-selected-backward) 42 74 43 - nnoremap s <Plug>(vsearch-change-word-forward) 44 - nnoremap S <Plug>(vsearch-change-word-backward) 75 + nmap s <Plug>(vsearch-change-word-forward) 76 + nmap S <Plug>(vsearch-change-word-backward) 45 77 46 78 let &cpo = s:save_cpo