vimrc sshconfig and gpaw module

This commit is contained in:
2021-06-28 10:41:42 +02:00
parent b86e7df6f7
commit e698ad9319
3 changed files with 14 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
local name, version = splitFileName(myModuleFullName()) local name, version = splitFileName(myModuleFullName())
local platform = "linux-x86_64-ubuntu-3.8" local platform = "linux-x86_64-ubuntu-3.8"
local platform = capture("python -c \"import distutils.util; import sys; print(distutils.util.get_platform() + '-' + sys.version[0:3],end='')\"");
local home = os.getenv("HOME") local home = os.getenv("HOME")
local gpaw_root = pathJoin(home, "git/gpaw", version) local gpaw_root = pathJoin(home, "git/gpaw", version)

View File

@@ -35,6 +35,10 @@ Host pi3
User ubuntu User ubuntu
Port 22 Port 22
Host hebbe
Hostname hebbe1.c3se.chalmers.se
User fojt
Host vera Host vera
Hostname vera1.c3se.chalmers.se Hostname vera1.c3se.chalmers.se
User fojt User fojt

9
.vimrc
View File

@@ -28,6 +28,7 @@ if filereadable(expand(vundle_dir) . "/README.md")
Plugin 'nvie/vim-flake8' Plugin 'nvie/vim-flake8'
Plugin 'ludovicchabant/vim-gutentags' Plugin 'ludovicchabant/vim-gutentags'
Plugin 'junegunn/vim-peekaboo' Plugin 'junegunn/vim-peekaboo'
Plugin 'ycm-core/YouCompleteMe'
call vundle#end() " required call vundle#end() " required
else else
@@ -193,6 +194,11 @@ else
endif endif
" YouCompleteMe Python interpreter
let g:ycm_python_interpreter_path = '~/.python-venv.kuba/bin/python'
"let g:ycm_autoclose_preview_window_after_insertion = 1 " Close after leaving insert mode
let g:ycm_autoclose_preview_window_after_completion = 1 " Close after accepting completion
" fugitive.vim looks for tags in .git " fugitive.vim looks for tags in .git
" set tags +=~/tags " Recursively move upwards in tree, searching in subfolders for tags file " set tags +=~/tags " Recursively move upwards in tree, searching in subfolders for tags file
@@ -215,6 +221,9 @@ set statusline+=%#MoreMsg#
set statusline+=\ " set statusline+=\ "
" flake8
let g:flake8_show_in_gutter=1
" CtrlP " CtrlP
let g:ctrlp_working_path_mode = 'ra' let g:ctrlp_working_path_mode = 'ra'