Working on getting linux version working
- and getting this ready to push.
This commit is contained in:
parent
441a0547ca
commit
59de57ca73
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"diagnostic.showUnused": false,
|
||||
}
|
6
init.vim
6
init.vim
|
@ -66,11 +66,11 @@ if exists('g:fvim_loaded')
|
|||
FVimBackgroundComposition 'transparent'
|
||||
FVimBackgroundOpacity 0.90
|
||||
FVimBackgroundAltOpacity 0.85
|
||||
FVimCustomTitleBar v:true
|
||||
FVimCustomTitleBar v:false
|
||||
|
||||
FVimFontLigature v:true
|
||||
|
||||
set guifont=JetBrains\ Mono:h13
|
||||
set guifont=JetBrains\ Mono:h12.5
|
||||
endif
|
||||
|
||||
nnoremap <leader><leader> :NvimTreeToggle<CR>
|
||||
|
@ -81,6 +81,8 @@ nnoremap <leader>vv <cmd>e $SCR_INIT<CR>
|
|||
nnoremap <leader>vp <cmd>e $SCR_PLUGINS<CR>
|
||||
|
||||
" Telescope binds
|
||||
nnoremap <leader>F <cmd>Telescope resume<cr>
|
||||
nnoremap <leader>fr <cmd>Telescope resume<cr>
|
||||
nnoremap <leader>ff <cmd>Telescope find_files<cr>
|
||||
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
||||
nnoremap <leader>fb <cmd>Telescope buffers<cr>
|
||||
|
|
|
@ -30,10 +30,75 @@ return require('packer').startup(function(use)
|
|||
end,
|
||||
requires = { 'kyazdani42/nvim-web-devicons', opt = true }
|
||||
}
|
||||
use 'dstein64/nvim-scrollview'
|
||||
use {
|
||||
'tami5/sqlite.lua',
|
||||
config = function()
|
||||
if vim.fn.has('win32') then
|
||||
-- FIXME need to download the sqlite3.dll from sqlite.org and place in config folder
|
||||
vim.g.sqlite_clib_path = vim.fn.stdpath('config') .. '/sqlite3.dll'
|
||||
end
|
||||
-- see if anything to do on linux.
|
||||
end
|
||||
}
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
requires = { 'nvim-lua/plenary.nvim' }
|
||||
requires = { 'nvim-lua/plenary.nvim', 'nvim-telescope/telescope-smart-history.nvim' },
|
||||
config = function()
|
||||
local tele = require('telescope')
|
||||
local actions = require('telescope.actions');
|
||||
local actions_generate = require('telescope.actions.generate');
|
||||
|
||||
tele.setup{
|
||||
defaults = {
|
||||
prompt_prefix = " ",
|
||||
selection_caret = " ",
|
||||
mappings = {
|
||||
i = {
|
||||
["<C-Down>"] = actions.cycle_history_next,
|
||||
["<C-Up>"] = actions.cycle_history_prev,
|
||||
["<C-?>"] = actions_generate.which_key {
|
||||
name_width = 22,
|
||||
max_height = .05,
|
||||
mode_width = 0,
|
||||
separator = '',
|
||||
column_indent = 1,
|
||||
line_padding = 0
|
||||
}
|
||||
},
|
||||
n = {
|
||||
["?"] = actions_generate.which_key {
|
||||
name_width = 22,
|
||||
max_height = .05,
|
||||
mode_width = 0,
|
||||
separator = '',
|
||||
column_indent = 1,
|
||||
line_padding = 0,
|
||||
}
|
||||
}
|
||||
},
|
||||
history = {
|
||||
path = vim.fn.stdpath('data') .. '/databases/telescope_history.sqlite3',
|
||||
limit = 100,
|
||||
},
|
||||
layout_config = {
|
||||
horizontal = {
|
||||
width = 0.95,
|
||||
height = 0.95,
|
||||
},
|
||||
vertical = {
|
||||
width = 0.95,
|
||||
height = 0.95,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tele.load_extension('smart_history')
|
||||
end,
|
||||
}
|
||||
use {
|
||||
'nvim-telescope/telescope-smart-history.nvim',
|
||||
requires = { 'tami5/sqlite.lua' },
|
||||
}
|
||||
use 'habamax/vim-godot'
|
||||
use 'skywind3000/asyncrun.vim'
|
||||
|
@ -99,6 +164,12 @@ return require('packer').startup(function(use)
|
|||
require('lspkind').init{}
|
||||
end
|
||||
}
|
||||
use 'lepture/vim-jinja'
|
||||
use {
|
||||
'neoclide/coc.nvim',
|
||||
branch = 'release'
|
||||
}
|
||||
use 'editorconfig/editorconfig-vim'
|
||||
end)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue