Skip to content

Instantly share code, notes, and snippets.

View lighttiger2505's full-sized avatar

Toshikazu Ohashi lighttiger2505

  • Mobility Technologies
  • Japan
View GitHub Profile
@lighttiger2505
lighttiger2505 / init.vim
Last active December 9, 2019 16:59
Small vimrc(init.vim) for LSP.
filetype off
filetype plugin indent off
if isdirectory(expand($PYENV_PATH))
let g:python_host_prog = $PYENV_PATH . '/versions/neovim2/bin/python'
let g:python3_host_prog = $PYENV_PATH . '/versions/neovim3/bin/python'
endif
if isdirectory(expand($ANYENV_PATH))
let g:python_host_prog = $ANYENV_PATH . '/envs/pyenv/versions/neovim2/bin/python'
let g:python3_host_prog = $ANYENV_PATH . '/envs/pyenv/versions/neovim3/bin/python'
@lighttiger2505
lighttiger2505 / function.vim
Last active August 31, 2019 17:43
Show definition view on the less command written in Vim script
command! -bar TermPrevLspDef call s:termprev_lsp_def()
command! -bar TermPrevLspDefFloat call s:termprev_lsp_def_float()
" ##############################################################################################
" # command roots
" ##############################################################################################
let s:termprev_bufffer = 'new'
function! s:termprev_lsp_def() abort
@lighttiger2505
lighttiger2505 / .cvimrc
Last active August 21, 2018 02:05
cvim config file #vim
" Enable local cvimrc
let configpath = '~/.cvimrc'
" Settings
set nohud
set nosmoothscroll
set noautofocus
let locale = "jp"
" Leader key mapping
let mapleader = ","
" Mapping on nomal mode