35 lines
862 B
VimL
35 lines
862 B
VimL
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
|
let &packpath = &runtimepath
|
|
source ~/.vimrc
|
|
|
|
|
|
lua <<EOF
|
|
vim.g.mapleader = ','
|
|
|
|
-- Revert color management to "Old style" vim methods until we can update
|
|
-- colorschems Ref: https://neovim.io/doc/user/news-0.10.html
|
|
if vim.fn.has('nvim-0.10') == 1 then
|
|
vim.cmd([[
|
|
set notermguicolors
|
|
source $VIMRUNTIME/colors/vim.lua
|
|
]])
|
|
end
|
|
|
|
require('user.lspconfig')
|
|
require('user.indentblanklines')
|
|
require('user.luasnip')
|
|
|
|
EOF
|
|
|
|
nnoremap <leader>ib <cmd>IBLToggle<cr>
|
|
|
|
" Beginner keybinds for telescope
|
|
nnoremap <leader>ff <cmd>Telescope find_files<cr>
|
|
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
|
nnoremap <leader>fb <cmd>Telescope buffers<cr>
|
|
nnoremap <leader>fh <cmd>Telescope help_tags<cr>
|
|
|
|
" lua print('this also works')
|
|
|
|
command! LuaRuntimePath lua print(vim.inspect(vim.api.nvim_list_runtime_paths()))
|