diff --git a/nvim/.nvim/.netrwhist b/nvim/.config/nvim/.netrwhist similarity index 100% rename from nvim/.nvim/.netrwhist rename to nvim/.config/nvim/.netrwhist diff --git a/nvim/.nvim/autoload/plug.vim.old b/nvim/.config/nvim/autoload/plug.vim similarity index 94% rename from nvim/.nvim/autoload/plug.vim.old rename to nvim/.config/nvim/autoload/plug.vim index 9102a09..b63d777 100644 --- a/nvim/.nvim/autoload/plug.vim.old +++ b/nvim/.config/nvim/autoload/plug.vim @@ -399,7 +399,7 @@ function! s:lod(names, types) endfunction function! s:lod_ft(pat, names) - call s:lod(a:names, ['plugin', 'after/plugin']) + call s:lod(a:names, ['plugin', 'after/plugin', 'syntax', 'after/syntax']) execute 'autocmd! PlugLOD FileType' a:pat if exists('#filetypeplugin#FileType') doautocmd filetypeplugin FileType @@ -646,7 +646,7 @@ function! s:do(pull, force, todo) endif let installed = has_key(s:update.new, name) let updated = installed ? 0 : - \ (a:pull && !empty(s:system_chomp('git log --pretty=format:"%h" "HEAD...HEAD@{1}"', spec.dir))) + \ (a:pull && index(s:update.errors, name) < 0 && !empty(s:system_chomp('git log --pretty=format:"%h" "HEAD...HEAD@{1}"', spec.dir))) if a:force || installed || updated execute 'cd' s:esc(spec.dir) call append(3, '- Post-update hook for '. name .' ... ') @@ -1050,17 +1050,17 @@ G_LOG_PROB = 1.0 / int(vim.eval('s:update.threads')) G_STOP = thr.Event() G_THREADS = {} -class BaseExc(Exception): +class PlugError(Exception): def __init__(self, msg): self._msg = msg @property def msg(self): return self._msg -class CmdTimedOut(BaseExc): +class CmdTimedOut(PlugError): pass -class CmdFailed(BaseExc): +class CmdFailed(PlugError): pass -class InvalidURI(BaseExc): +class InvalidURI(PlugError): pass class Action(object): INSTALL, UPDATE, ERROR, DONE = ['+', '*', 'x', '-'] @@ -1074,7 +1074,7 @@ class Buffer(object): self.maxy = int(vim.eval('winheight(".")')) self.num_plugs = num_plugs - def _where(self, name): + def __where(self, name): """ Find first line with name in current buffer. Return line num. """ found, lnum = False, 0 matcher = re.compile('^[-+x*] {0}:'.format(name)) @@ -1103,8 +1103,7 @@ class Buffer(object): def write(self, action, name, lines): first, rest = lines[0], lines[1:] msg = ['{0} {1}{2}{3}'.format(action, name, ': ' if first else '', first)] - padded_rest = [' ' + line for line in rest] - msg.extend(padded_rest) + msg.extend([' ' + line for line in rest]) try: if action == Action.ERROR: @@ -1114,7 +1113,7 @@ class Buffer(object): self.bar += '=' curbuf = vim.current.buffer - lnum = self._where(name) + lnum = self.__where(name) if lnum != -1: # Found matching line num del curbuf[lnum] if lnum > self.maxy and action in set([Action.INSTALL, Action.UPDATE]): @@ -1128,56 +1127,73 @@ class Buffer(object): pass class Command(object): - def __init__(self, cmd, cmd_dir=None, timeout=60, ntries=3, cb=None, clean=None): + def __init__(self, cmd, cmd_dir=None, timeout=60, cb=None, clean=None): self.cmd = cmd self.cmd_dir = cmd_dir self.timeout = timeout - self.ntries = ntries self.callback = cb if cb else (lambda msg: None) - self.clean = clean + self.clean = clean if clean else (lambda: None) + self.proc = None - def attempt_cmd(self): - """ Tries to run the command, returns result if no exceptions. """ - attempt = 0 - finished = False - limit = self.timeout + @property + def alive(self): + """ Returns true only if command still running. """ + return self.proc and self.proc.poll() is None + + def execute(self, ntries=3): + """ Execute the command with ntries if CmdTimedOut. + Returns the output of the command if no Exception. + """ + attempt, finished, limit = 0, False, self.timeout while not finished: try: attempt += 1 - result = self.timeout_cmd() + result = self.try_command() finished = True + return result except CmdTimedOut: - if attempt != self.ntries: - for count in range(3, 0, -1): - if G_STOP.is_set(): - raise KeyboardInterrupt - msg = 'Timeout. Will retry in {0} second{1} ...'.format( - count, 's' if count != 1 else '') - self.callback([msg]) - time.sleep(1) + if attempt != ntries: + self.notify_retry() self.timeout += limit - self.callback(['Retrying ...']) else: raise - return result + def notify_retry(self): + """ Retry required for command, notify user. """ + for count in range(3, 0, -1): + if G_STOP.is_set(): + raise KeyboardInterrupt + msg = 'Timeout. Will retry in {0} second{1} ...'.format( + count, 's' if count != 1 else '') + self.callback([msg]) + time.sleep(1) + self.callback(['Retrying ...']) - def timeout_cmd(self): + def try_command(self): """ Execute a cmd & poll for callback. Returns list of output. - Raises CmdFailed -> return code for Popen isn't 0 - Raises CmdTimedOut -> command exceeded timeout without new output + Raises CmdFailed -> return code for Popen isn't 0 + Raises CmdTimedOut -> command exceeded timeout without new output """ - proc = None first_line = True - try: - tfile = tempfile.NamedTemporaryFile(mode='w+b', delete=False) - proc = subprocess.Popen(self.cmd, cwd=self.cmd_dir, stdout=tfile, - stderr=subprocess.STDOUT, shell=True, preexec_fn=os.setsid) - while proc.poll() is None: - # Yield this thread - time.sleep(0.2) + try: + tfile = tempfile.NamedTemporaryFile(mode='w+b') + self.proc = subprocess.Popen(self.cmd, cwd=self.cmd_dir, stdout=tfile, + stderr=subprocess.STDOUT, shell=True, + preexec_fn=os.setsid) + thrd = thr.Thread(target=(lambda proc: proc.wait()), args=(self.proc,)) + thrd.start() + + thread_not_started = True + while thread_not_started: + try: + thrd.join(0.1) + thread_not_started = False + except RuntimeError: + pass + + while self.alive: if G_STOP.is_set(): raise KeyboardInterrupt @@ -1191,23 +1207,24 @@ class Command(object): if time_diff > self.timeout: raise CmdTimedOut(['Timeout!']) + thrd.join(0.5) + tfile.seek(0) - result = [line.decode().rstrip() for line in tfile] + result = [line.decode('utf-8', 'replace').rstrip() for line in tfile] - if proc.returncode != 0: - msg = [''] - msg.extend(result) - raise CmdFailed(msg) + if self.proc.returncode != 0: + raise CmdFailed([''] + result) + + return result except: - if proc and proc.poll() is None: - os.killpg(proc.pid, signal.SIGTERM) - if self.clean: - self.clean() + self.terminate() raise - finally: - os.remove(tfile.name) - return result + def terminate(self): + """ Terminate process and cleanup. """ + if self.alive: + os.killpg(self.proc.pid, signal.SIGTERM) + self.clean() class Plugin(object): def __init__(self, name, args, buf_q, lock): @@ -1228,7 +1245,7 @@ class Plugin(object): self.install() with self.lock: thread_vim_command("let s:update.new['{0}'] = 1".format(self.name)) - except (CmdTimedOut, CmdFailed, InvalidURI) as exc: + except PlugError as exc: self.write(Action.ERROR, self.name, exc.msg) except KeyboardInterrupt: G_STOP.set() @@ -1253,11 +1270,18 @@ class Plugin(object): self.write(Action.INSTALL, self.name, ['Installing ...']) callback = functools.partial(self.write, Action.INSTALL, self.name) cmd = 'git clone {0} {1} --recursive {2} -b {3} {4} 2>&1'.format( - '' if self.tag else G_CLONE_OPT, G_PROGRESS, self.args['uri'], self.checkout, esc(target)) - com = Command(cmd, None, G_TIMEOUT, G_RETRIES, callback, clean(target)) - result = com.attempt_cmd() + '' if self.tag else G_CLONE_OPT, G_PROGRESS, self.args['uri'], + self.checkout, esc(target)) + com = Command(cmd, None, G_TIMEOUT, callback, clean(target)) + result = com.execute(G_RETRIES) self.write(Action.DONE, self.name, result[-1:]) + def repo_uri(self): + cmd = 'git rev-parse --abbrev-ref HEAD 2>&1 && git config remote.origin.url' + command = Command(cmd, self.args['dir'], G_TIMEOUT,) + result = command.execute(G_RETRIES) + return result[-1] + def update(self): match = re.compile(r'git::?@') actual_uri = re.sub(match, '', self.repo_uri()) @@ -1278,18 +1302,12 @@ class Plugin(object): 'git merge --ff-only {0}'.format(self.merge), 'git submodule update --init --recursive'] cmd = ' 2>&1 && '.join(cmds) - com = Command(cmd, self.args['dir'], G_TIMEOUT, G_RETRIES, callback) - result = com.attempt_cmd() + com = Command(cmd, self.args['dir'], G_TIMEOUT, callback) + result = com.execute(G_RETRIES) self.write(Action.DONE, self.name, result[-1:]) else: self.write(Action.DONE, self.name, ['Already installed']) - def repo_uri(self): - cmd = 'git rev-parse --abbrev-ref HEAD 2>&1 && git config remote.origin.url' - command = Command(cmd, self.args['dir'], G_TIMEOUT, G_RETRIES) - result = command.attempt_cmd() - return result[-1] - def write(self, action, name, msg): self.buf_q.put((action, name, msg)) @@ -1326,7 +1344,7 @@ class RefreshThread(thr.Thread): while self.running: with self.lock: thread_vim_command('noautocmd normal! a') - time.sleep(0.2) + time.sleep(0.33) def stop(self): self.running = False @@ -1344,7 +1362,7 @@ def esc(name): def nonblock_read(fname): """ Read a file with nonblock flag. Return the last line. """ fread = os.open(fname, os.O_RDONLY | os.O_NONBLOCK) - buf = os.read(fread, 100000).decode() + buf = os.read(fread, 100000).decode('utf-8', 'replace') os.close(fread) line = buf.rstrip('\r\n') diff --git a/nvim/.nvim/autoload/plug.vim b/nvim/.config/nvim/autoload/plug.vim.old similarity index 100% rename from nvim/.nvim/autoload/plug.vim rename to nvim/.config/nvim/autoload/plug.vim.old diff --git a/nvim/.nvim/compiler/gradle.vim b/nvim/.config/nvim/compiler/gradle.vim similarity index 100% rename from nvim/.nvim/compiler/gradle.vim rename to nvim/.config/nvim/compiler/gradle.vim diff --git a/nvim/.nvimrc b/nvim/.config/nvim/init.vim similarity index 69% rename from nvim/.nvimrc rename to nvim/.config/nvim/init.vim index 2ad93f8..94b1a7a 100644 --- a/nvim/.nvimrc +++ b/nvim/.config/nvim/init.vim @@ -1,4 +1,4 @@ -call plug#begin('~/.dotfiles/nvim/.nvim/plugged') +call plug#begin('~/.dotfiles/nvim/.config/nvim/plugged') Plug 'kien/ctrlp.vim' Plug 'FelikZ/ctrlp-py-matcher' Plug 'Raimondi/delimitMate' @@ -13,22 +13,18 @@ Plug 'tommcdo/vim-exchange' Plug 'justinmk/vim-matchparenalways' Plug 'tpope/vim-surround' Plug 'christoomey/vim-tmux-navigator' -Plug 'vim-scripts/OmniCppComplete' -Plug 'ervandew/supertab' Plug 'MarcWeber/vim-addon-mw-utils' Plug 'tomtom/tlib_vim' -Plug 'garbas/vim-snipmate' +Plug 'SirVer/ultisnips' Plug 'honza/vim-snippets' Plug 'beyondmarc/glsl.vim' Plug 'tpope/vim-dispatch' Plug 'freitass/todo.txt-vim' Plug 'tpope/vim-unimpaired' Plug 'milkypostman/vim-togglelist' +Plug 'Valloric/YouCompleteMe' call plug#end() -let g:neomake_airline=1 - -" let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' } let g:ctrlp_custom_ignore = '\v[\/](bin|obj)$' let delimitMate_expand_cr = 1 @@ -38,9 +34,9 @@ set t_Co=256 set t_ZH= set t_ZR= set background=dark -" set background=light let g:indentLine_char = '│' +let g:indentLine_color_term = 239 " map :NERDTreeToggle map :NERDTreeToggle @@ -57,18 +53,20 @@ map :TmuxNavigateDown map :TmuxNavigateUp map :TmuxNavigateRight -set omnifunc=syntaxcomplete#Complete " override built-in C omnicomplete with C++ OmniCppComplete plugin -let OmniCpp_GlobalScopeSearch = 1 -let OmniCpp_DisplayMode = 1 -let OmniCpp_ShowScopeInAbbr = 0 "do not show namespace in pop-up -let OmniCpp_ShowPrototypeInAbbr = 1 "show prototype in pop-up -let OmniCpp_ShowAccess = 1 "show access in pop-up -let OmniCpp_SelectFirstItem = 1 "select first item in pop-up -set completeopt=menuone,menu,longest +" set omnifunc=syntaxcomplete#Complete " override built-in C omnicomplete with C++ OmniCppComplete plugin +" let OmniCpp_GlobalScopeSearch = 1 +" let OmniCpp_DisplayMode = 1 +" let OmniCpp_ShowScopeInAbbr = 0 "do not show namespace in pop-up +" let OmniCpp_ShowPrototypeInAbbr = 1 "show prototype in pop-up +" let OmniCpp_ShowAccess = 1 "show access in pop-up +" let OmniCpp_SelectFirstItem = 1 "select first item in pop-up -let g:SuperTabDefaultCompletionType = "" +set completeopt=menuone,menu,preview +let g:ycm_confirm_extra_conf = 0 +let g:ycm_error_symbol = '' +let g:ycm_warning_symbol = '' -" let g:SuperTabDefaultCompletionType = "" +let g:UltiSnipsExpandTrigger="" syntax on filetype plugin indent on @@ -82,7 +80,8 @@ set shiftwidth=4 set noexpandtab set completeopt-=preview -set cinkeys=0{,0},0),:,!^F,o,O,e +" I do not remember what this is for +" set cinkeys=0{,0},0),:,!^F,o,O,e map :bn map :bp @@ -90,15 +89,11 @@ map :bp map 10j map 10k -" map :make:cw -if $HOST != "hefaistos" - map :Make - map :Make debug -else - map :Make CONFIG=legacy - map :Make CONFIG=legacy debug -endif -map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . +autocmd FileType cpp map :Make +autocmd FileType cpp map :Make debug +autocmd FileType cpp map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . + +autocmd FileType tex map :!arara % map :call ToggleQuickfixList() map :e ./todo/todo.txt diff --git a/nvim/.config/nvim/plugged/YouCompleteMe b/nvim/.config/nvim/plugged/YouCompleteMe new file mode 160000 index 0000000..0352ed9 --- /dev/null +++ b/nvim/.config/nvim/plugged/YouCompleteMe @@ -0,0 +1 @@ +Subproject commit 0352ed9b1f8f6bb4b9cdc1c164b564573243aecc diff --git a/nvim/.nvim/plugged/ctrlp-py-matcher b/nvim/.config/nvim/plugged/ctrlp-py-matcher similarity index 100% rename from nvim/.nvim/plugged/ctrlp-py-matcher rename to nvim/.config/nvim/plugged/ctrlp-py-matcher diff --git a/nvim/.nvim/plugged/ctrlp.vim b/nvim/.config/nvim/plugged/ctrlp.vim similarity index 100% rename from nvim/.nvim/plugged/ctrlp.vim rename to nvim/.config/nvim/plugged/ctrlp.vim diff --git a/nvim/.config/nvim/plugged/delimitMate b/nvim/.config/nvim/plugged/delimitMate new file mode 160000 index 0000000..8bc47fd --- /dev/null +++ b/nvim/.config/nvim/plugged/delimitMate @@ -0,0 +1 @@ +Subproject commit 8bc47fd1c40cdad9ea1f36c0cf13592c70ea65e9 diff --git a/nvim/.nvim/plugged/glsl.vim b/nvim/.config/nvim/plugged/glsl.vim similarity index 100% rename from nvim/.nvim/plugged/glsl.vim rename to nvim/.config/nvim/plugged/glsl.vim diff --git a/nvim/.config/nvim/plugged/gruvbox b/nvim/.config/nvim/plugged/gruvbox new file mode 160000 index 0000000..e4ba7ab --- /dev/null +++ b/nvim/.config/nvim/plugged/gruvbox @@ -0,0 +1 @@ +Subproject commit e4ba7abe5ccccc0ebea0e33a4e045f96311020d8 diff --git a/nvim/.config/nvim/plugged/indentLine b/nvim/.config/nvim/plugged/indentLine new file mode 160000 index 0000000..6011a61 --- /dev/null +++ b/nvim/.config/nvim/plugged/indentLine @@ -0,0 +1 @@ +Subproject commit 6011a6132c40d7f8fecadd7b44677f539289ea4c diff --git a/nvim/.config/nvim/plugged/nerdtree b/nvim/.config/nvim/plugged/nerdtree new file mode 160000 index 0000000..0b44415 --- /dev/null +++ b/nvim/.config/nvim/plugged/nerdtree @@ -0,0 +1 @@ +Subproject commit 0b44415a3302030b56755cc1135ca9ca57dc1ada diff --git a/nvim/.nvim/plugged/tabular b/nvim/.config/nvim/plugged/tabular similarity index 100% rename from nvim/.nvim/plugged/tabular rename to nvim/.config/nvim/plugged/tabular diff --git a/nvim/.nvim/plugged/tagbar b/nvim/.config/nvim/plugged/tagbar similarity index 100% rename from nvim/.nvim/plugged/tagbar rename to nvim/.config/nvim/plugged/tagbar diff --git a/nvim/.config/nvim/plugged/tcomment_vim b/nvim/.config/nvim/plugged/tcomment_vim new file mode 160000 index 0000000..c067932 --- /dev/null +++ b/nvim/.config/nvim/plugged/tcomment_vim @@ -0,0 +1 @@ +Subproject commit c067932263fbb8add3c330485b14f31f791418f0 diff --git a/nvim/.config/nvim/plugged/tlib_vim b/nvim/.config/nvim/plugged/tlib_vim new file mode 160000 index 0000000..04b1b1d --- /dev/null +++ b/nvim/.config/nvim/plugged/tlib_vim @@ -0,0 +1 @@ +Subproject commit 04b1b1de812f521a88e42df387695c5c6378eac2 diff --git a/nvim/.config/nvim/plugged/todo.txt-vim b/nvim/.config/nvim/plugged/todo.txt-vim new file mode 160000 index 0000000..b3d9e18 --- /dev/null +++ b/nvim/.config/nvim/plugged/todo.txt-vim @@ -0,0 +1 @@ +Subproject commit b3d9e18b081bfdfeec50af58fa7eb5a353a10675 diff --git a/nvim/.config/nvim/plugged/ultisnips b/nvim/.config/nvim/plugged/ultisnips new file mode 160000 index 0000000..c9699fe --- /dev/null +++ b/nvim/.config/nvim/plugged/ultisnips @@ -0,0 +1 @@ +Subproject commit c9699feed1cc301826fdb36ad3bb37e14be1d4ea diff --git a/nvim/.nvim/plugged/vim-addon-mw-utils b/nvim/.config/nvim/plugged/vim-addon-mw-utils similarity index 100% rename from nvim/.nvim/plugged/vim-addon-mw-utils rename to nvim/.config/nvim/plugged/vim-addon-mw-utils diff --git a/nvim/.config/nvim/plugged/vim-airline b/nvim/.config/nvim/plugged/vim-airline new file mode 160000 index 0000000..14d14cf --- /dev/null +++ b/nvim/.config/nvim/plugged/vim-airline @@ -0,0 +1 @@ +Subproject commit 14d14cf951c08fc88ca6c3e6f28fe47b99421e23 diff --git a/nvim/.nvim/plugged/vim-dispatch b/nvim/.config/nvim/plugged/vim-dispatch similarity index 100% rename from nvim/.nvim/plugged/vim-dispatch rename to nvim/.config/nvim/plugged/vim-dispatch diff --git a/nvim/.config/nvim/plugged/vim-exchange b/nvim/.config/nvim/plugged/vim-exchange new file mode 160000 index 0000000..9373a84 --- /dev/null +++ b/nvim/.config/nvim/plugged/vim-exchange @@ -0,0 +1 @@ +Subproject commit 9373a8471cd968e5e4605c3487f80c9364d412b2 diff --git a/nvim/.nvim/plugged/vim-matchparenalways b/nvim/.config/nvim/plugged/vim-matchparenalways similarity index 100% rename from nvim/.nvim/plugged/vim-matchparenalways rename to nvim/.config/nvim/plugged/vim-matchparenalways diff --git a/nvim/.config/nvim/plugged/vim-snippets b/nvim/.config/nvim/plugged/vim-snippets new file mode 160000 index 0000000..8cb1d88 --- /dev/null +++ b/nvim/.config/nvim/plugged/vim-snippets @@ -0,0 +1 @@ +Subproject commit 8cb1d88e475ac3c109f56ebd5379c07d3ed83a9f diff --git a/nvim/.nvim/plugged/vim-surround b/nvim/.config/nvim/plugged/vim-surround similarity index 100% rename from nvim/.nvim/plugged/vim-surround rename to nvim/.config/nvim/plugged/vim-surround diff --git a/nvim/.config/nvim/plugged/vim-tmux-navigator b/nvim/.config/nvim/plugged/vim-tmux-navigator new file mode 160000 index 0000000..754871f --- /dev/null +++ b/nvim/.config/nvim/plugged/vim-tmux-navigator @@ -0,0 +1 @@ +Subproject commit 754871fc6e523133921cb4f72b26111ff61cd7dd diff --git a/nvim/.nvim/plugged/vim-togglelist b/nvim/.config/nvim/plugged/vim-togglelist similarity index 100% rename from nvim/.nvim/plugged/vim-togglelist rename to nvim/.config/nvim/plugged/vim-togglelist diff --git a/nvim/.config/nvim/plugged/vim-unimpaired b/nvim/.config/nvim/plugged/vim-unimpaired new file mode 160000 index 0000000..23f471a --- /dev/null +++ b/nvim/.config/nvim/plugged/vim-unimpaired @@ -0,0 +1 @@ +Subproject commit 23f471ad0f00e2fab097f9d67ffd770881d4b35a diff --git a/nvim/.nvim/snippets/cpp.snippets b/nvim/.config/nvim/snippets/cpp.snippets similarity index 85% rename from nvim/.nvim/snippets/cpp.snippets rename to nvim/.config/nvim/snippets/cpp.snippets index 062fcdb..366ebc5 100644 --- a/nvim/.nvim/snippets/cpp.snippets +++ b/nvim/.config/nvim/snippets/cpp.snippets @@ -8,6 +8,6 @@ snippet header #endif snippet incl - # include "Standard.h" + #include "standard.h" ${0} diff --git a/nvim/.nvim/plugged/OmniCppComplete b/nvim/.nvim/plugged/OmniCppComplete deleted file mode 160000 index 2fac015..0000000 --- a/nvim/.nvim/plugged/OmniCppComplete +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2fac015957895dffa6b298e3c028ac30560d015b diff --git a/nvim/.nvim/plugged/delimitMate b/nvim/.nvim/plugged/delimitMate deleted file mode 160000 index d24ad6b..0000000 --- a/nvim/.nvim/plugged/delimitMate +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d24ad6b301685cd3b9278420248cc780fdc8fc59 diff --git a/nvim/.nvim/plugged/gruvbox b/nvim/.nvim/plugged/gruvbox deleted file mode 160000 index 289094b..0000000 --- a/nvim/.nvim/plugged/gruvbox +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 289094bce953f98c5c871ff28492b0034ade55b5 diff --git a/nvim/.nvim/plugged/indentLine b/nvim/.nvim/plugged/indentLine deleted file mode 160000 index 300c719..0000000 --- a/nvim/.nvim/plugged/indentLine +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 300c719b3e0348a65457109386ded3f32f7cd319 diff --git a/nvim/.nvim/plugged/nerdtree b/nvim/.nvim/plugged/nerdtree deleted file mode 160000 index bcf3de4..0000000 --- a/nvim/.nvim/plugged/nerdtree +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bcf3de4fdffae45fc7c85b6b84a01b37177924aa diff --git a/nvim/.nvim/plugged/supertab b/nvim/.nvim/plugged/supertab deleted file mode 160000 index c8bfece..0000000 --- a/nvim/.nvim/plugged/supertab +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c8bfeceb1fc92ad58f2ae6967cbfcd6fbcb0d6e7 diff --git a/nvim/.nvim/plugged/tcomment_vim b/nvim/.nvim/plugged/tcomment_vim deleted file mode 160000 index d39c7db..0000000 --- a/nvim/.nvim/plugged/tcomment_vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d39c7dbc83c07f36cf7a3287a30a51b3dfc4a0f4 diff --git a/nvim/.nvim/plugged/tlib_vim b/nvim/.nvim/plugged/tlib_vim deleted file mode 160000 index 4c128ee..0000000 --- a/nvim/.nvim/plugged/tlib_vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4c128ee2fee6d97cc5c6089e7797b4ad536de2a4 diff --git a/nvim/.nvim/plugged/todo.txt-vim b/nvim/.nvim/plugged/todo.txt-vim deleted file mode 160000 index c13a277..0000000 --- a/nvim/.nvim/plugged/todo.txt-vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c13a277e2a14b9826682ad2bac89de59b98b3c8b diff --git a/nvim/.nvim/plugged/vim-airline b/nvim/.nvim/plugged/vim-airline deleted file mode 160000 index cdc6d98..0000000 --- a/nvim/.nvim/plugged/vim-airline +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cdc6d98a09db60d3dda58815616f78338cbdaa9d diff --git a/nvim/.nvim/plugged/vim-exchange b/nvim/.nvim/plugged/vim-exchange deleted file mode 160000 index 0ae5d5e..0000000 --- a/nvim/.nvim/plugged/vim-exchange +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0ae5d5ea9953d55768bede9759af636a773ce5a8 diff --git a/nvim/.nvim/plugged/vim-snipmate b/nvim/.nvim/plugged/vim-snipmate deleted file mode 160000 index c86c645..0000000 --- a/nvim/.nvim/plugged/vim-snipmate +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c86c64508a5b0309040429460c3a13fb90ac708e diff --git a/nvim/.nvim/plugged/vim-snippets b/nvim/.nvim/plugged/vim-snippets deleted file mode 160000 index 8a501ed..0000000 --- a/nvim/.nvim/plugged/vim-snippets +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8a501edad81e8d4421bc58577373087c6b24478e diff --git a/nvim/.nvim/plugged/vim-tmux-navigator b/nvim/.nvim/plugged/vim-tmux-navigator deleted file mode 160000 index 176452e..0000000 --- a/nvim/.nvim/plugged/vim-tmux-navigator +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 176452ead44118174ddad3502709a247d9c24bb4 diff --git a/nvim/.nvim/plugged/vim-unimpaired b/nvim/.nvim/plugged/vim-unimpaired deleted file mode 160000 index 1ec6af9..0000000 --- a/nvim/.nvim/plugged/vim-unimpaired +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1ec6af944e3bac5f8ccf0bfa18692a83828bde04 diff --git a/zsh/.zshrc b/zsh/.zshrc index 85c1a1a..3e8f14c 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -13,6 +13,9 @@ export PATH="/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/ export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin/scripts:$PATH" export TERM="screen-256color" +export SAL_USE_VCLPLUGIN="gtk" +export GOPATH="$HOME/.local/go" +export PATH="$HOME/.local/go/bin:$PATH" #setting aliases alias cl="clear"