Updated plugins
This commit is contained in:
@@ -1192,7 +1192,7 @@ class Command(object):
|
||||
raise CmdTimedOut(['Timeout!'])
|
||||
|
||||
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 = ['']
|
||||
@@ -1344,7 +1344,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')
|
||||
|
||||
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
Submodule nvim/.nvim/plugged/vim-snippets updated: 464aeae09b...7f327c60ea
Submodule nvim/.nvim/plugged/vim-surround updated: 772ab9587b...2d05440ad2
@@ -92,3 +92,5 @@ map <F9> :Make<cr>
|
||||
map <F10> :Make debug<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 tmux="tmux -2"
|
||||
alias attach="tmux a"
|
||||
alias wcp="wc -l src/**/*.cpp include/**/*.h"
|
||||
|
||||
#start tmux
|
||||
if [ -z "$TMUX" ]; then tmux; exit; fi
|
||||
|
||||
Reference in New Issue
Block a user