Updated plugins

This commit is contained in:
2015-08-15 20:07:04 +02:00
parent f6b99d0a27
commit 713e0e4068
6 changed files with 2026 additions and 4 deletions

View File

@@ -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')

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

View File

@@ -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>

View File

@@ -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