Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
configuration
vim
Commits
abbba0cb
Commit
abbba0cb
authored
Apr 23, 2020
by
Adrien Oliva
Browse files
Add python bindings and checkers
parent
6d753b2e
Changes
4
Hide whitespace changes
Inline
Side-by-side
002-minibufexpl.patch
0 → 100644
View file @
abbba0cb
diff --git a/plugin/minibufexpl.vim b/plugin/minibufexpl.vim
index 1797ee1..42a7596 100644
--- a/plugin/minibufexpl.vim
+++ b/plugin/minibufexpl.vim
@@ -2369,7 +2369,7 @@
function! <SID>GetSelectedBuffer()
let l:save_reg = @"
let @" = ""
- normal ""yi[
+ normal! ""yi[
if @" != ""
let l:retv = <SID>GetBufferNumber(@")
else
config/01-bindings.vim
View file @
abbba0cb
...
...
@@ -54,3 +54,8 @@ inoremap <C-s> <ESC>:w<Return>i
" Change leader key to "," (more accessible than \)
let
mapleader
=
","
" Map Python interpreter
noremap
<
F7
>
:!
python
"%"
<
Return
>
noremap
<
S
-
F7
>
:!
python
-
i
"%"
<
Return
>
noremap
<
F8
>
:!
make
coverage \
|
\
|
make
check \
|
\
|
python
-
m
pytest
<
Return
>
config/97-syntastic.vim
View file @
abbba0cb
...
...
@@ -10,3 +10,4 @@ let g:syntastic_check_on_wq = 0
let
g:syntastic_enable_perl_checker
=
1
let
g:syntastic_sh_shellcheck_args
=
"-x"
let
g:syntastic_python_checkers
=
[
"python"
,
"flake8"
,
"pylint"
,
"mypy"
,
"bandit"
,
"pydocstyle"
]
install.sh
View file @
abbba0cb
...
...
@@ -66,6 +66,7 @@ install_or_update_plugin "https://github.com/vim-scripts/DoxygenToolkit.vim" "ma
install_or_update_plugin
"https://github.com/editorconfig/editorconfig-vim"
"master"
install_or_update_plugin
"https://github.com/ryanoasis/vim-devicons"
"master"
install_or_update_plugin
"https://github.com/l-qing/minibufexpl.vim.git"
"master"
install_or_update_plugin
"https://github.com/alfredodeza/pytest.vim"
"master"
# Finalize process for YouCompleteMe
(
...
...
@@ -73,3 +74,9 @@ install_or_update_plugin "https://github.com/l-qing/minibufexpl.vim.git" "master
git submodule update
--init
--recursive
./install.py
--clang-completer
--java-completer
)
# Patch minibufexpl
(
cd
"
${
PLUGIN_DIR
}
/minibufexpl.vim.git"
||
exit
1
patch
-p1
<
"
${
CWD
}
/002-minibufexpl.patch"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment