Updated plugins
This commit is contained in:
parent
f6b99d0a27
commit
713e0e4068
|
@ -1192,7 +1192,7 @@ class Command(object):
|
||||||
raise CmdTimedOut(['Timeout!'])
|
raise CmdTimedOut(['Timeout!'])
|
||||||
|
|
||||||
tfile.seek(0)
|
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:
|
if proc.returncode != 0:
|
||||||
msg = ['']
|
msg = ['']
|
||||||
|
@ -1344,7 +1344,7 @@ def esc(name):
|
||||||
def nonblock_read(fname):
|
def nonblock_read(fname):
|
||||||
""" Read a file with nonblock flag. Return the last line. """
|
""" Read a file with nonblock flag. Return the last line. """
|
||||||
fread = os.open(fname, os.O_RDONLY | os.O_NONBLOCK)
|
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)
|
os.close(fread)
|
||||||
|
|
||||||
line = buf.rstrip('\r\n')
|
line = buf.rstrip('\r\n')
|
||||||
|
|
2019
nvim/.nvim/autoload/plug.vim.old
Normal file
2019
nvim/.nvim/autoload/plug.vim.old
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -1 +1 @@
|
||||||
Subproject commit 464aeae09bccd994a5a37ca3d25ed775f30034b6
|
Subproject commit 7f327c60ea3cb17432e85267e1150f28c0eae4f9
|
|
@ -1 +1 @@
|
||||||
Subproject commit 772ab9587b7d1e2c3bae75395c9123803059ba8a
|
Subproject commit 2d05440ad23f97a7874ebd9b5de3a0e65d25d85c
|
|
@ -92,3 +92,5 @@ map <F9> :Make<cr>
|
||||||
map <F10> :Make debug<cr>
|
map <F10> :Make debug<cr>
|
||||||
map <F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
|
map <F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
|
||||||
|
|
||||||
|
map <F4> :cw<cr>
|
||||||
|
map <C-N> :cn<cr>
|
||||||
|
|
|
@ -19,6 +19,7 @@ alias cl="clear"
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias tmux="tmux -2"
|
alias tmux="tmux -2"
|
||||||
alias attach="tmux a"
|
alias attach="tmux a"
|
||||||
|
alias wcp="wc -l src/**/*.cpp include/**/*.h"
|
||||||
|
|
||||||
#start tmux
|
#start tmux
|
||||||
if [ -z "$TMUX" ]; then tmux; exit; fi
|
if [ -z "$TMUX" ]; then tmux; exit; fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user