2021-06-27 12:15:35 +00:00
|
|
|
let g:k_nvim_dotfiles_dir = expand('<sfile>:p:h')
|
|
|
|
let g:k_dotfiles_dir = expand('<sfile>:p:h:h')
|
2021-09-08 18:10:15 +00:00
|
|
|
let &runtimepath = g:k_nvim_dotfiles_dir.','.&runtimepath.','.g:k_nvim_dotfiles_dir.'/after'
|
2021-09-09 12:30:21 +00:00
|
|
|
|
|
|
|
let g:vim_ide = 1
|
2021-10-25 05:39:56 +00:00
|
|
|
let g:dotfiles_rainbow_indent_opacity = 0.5
|
2021-09-09 12:30:21 +00:00
|
|
|
|
2023-08-11 20:15:45 +00:00
|
|
|
" Inhibited plugins {{{
|
|
|
|
" I'd love to use dotfiles#plugman#inhibit in my plugins-list.vim but by that
|
|
|
|
" point it is already too late.
|
|
|
|
let g:dotfiles#plugman#inhibited_plugins = {}
|
|
|
|
|
|
|
|
" Does not do its job properly anymore, I'm afraid.
|
|
|
|
let g:dotfiles#plugman#inhibited_plugins["delimitMate"] = 1
|
|
|
|
" }}}
|
|
|
|
|
2021-06-24 16:52:31 +00:00
|
|
|
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
|
2022-06-26 09:00:51 +00:00
|
|
|
|
|
|
|
if has('nvim')
|
|
|
|
luafile <sfile>:p:h/init.lua
|
|
|
|
else
|
|
|
|
set termguicolors
|
|
|
|
endif
|
|
|
|
|
|
|
|
" Arrow key fix kanged from <https://vim.fandom.com/wiki/Fix_arrow_keys_that_display_A_B_C_D_on_remote_shell#Solution_21> {{{
|
2022-08-08 20:22:33 +00:00
|
|
|
if exists("g:HELP_MY_ARROW_KEYS_ARE_BROKEN")
|
2022-06-26 09:00:51 +00:00
|
|
|
" the following simply creates an ambiguous mapping so vim fully
|
|
|
|
" processes the escape sequence for terminal keys, see 'ttimeout' for a
|
|
|
|
" rough explanation, this just forces it to work
|
|
|
|
if &term[:4] == "xterm" || &term[:5] == 'screen' || &term[:3] == 'rxvt'
|
|
|
|
inoremap <silent> <C-[>OC <RIGHT>
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
" }}}
|