Made a few changes
This commit is contained in:
parent
c7b01d9b6d
commit
7cbe73ad5b
19 changed files with 55 additions and 26 deletions
dotfiles/neovim/lua/my/plugins
|
@ -14,7 +14,7 @@ function M.setup()
|
|||
local luasnip = require("luasnip")
|
||||
|
||||
local options = {
|
||||
formatting = {format = lspkind.cmp_format()},
|
||||
formatting = {format = lspkind.cmp_format({mode = "symbol"})},
|
||||
snippet = {
|
||||
-- REQUIRED - you must specify a snippet engine
|
||||
expand = function(args)
|
||||
|
|
|
@ -5,6 +5,7 @@ function M.setup()
|
|||
require('nvim-autopairs').setup()
|
||||
require("startup").setup()
|
||||
require("presence"):setup({}) -- wtf does the : do here?
|
||||
-- require("which-key").setup()
|
||||
|
||||
-- Plugins with their own configs:
|
||||
require("my.plugins.vim-tmux-navigator").setup()
|
||||
|
|
|
@ -71,6 +71,7 @@ end
|
|||
-- General server config
|
||||
local servers = {
|
||||
tsserver = {on_attach = on_attach_typescript},
|
||||
dhall_lsp_server = {},
|
||||
sumneko_lua = {
|
||||
settings = {
|
||||
Lua = {
|
||||
|
|
|
@ -12,7 +12,8 @@ function M.setup()
|
|||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
||||
lualine_c = {'filename'},
|
||||
lualine_x = {},
|
||||
lualine_y = {'encoding', 'fileformat', 'filetype'},
|
||||
-- lualine_y = {'encoding', 'fileformat', 'filetype'},
|
||||
lualine_y = {'filetype'},
|
||||
lualine_z = {'location'}
|
||||
},
|
||||
-- Integration with other plugins
|
||||
|
|
|
@ -6,10 +6,10 @@ local M = {}
|
|||
function M.setup()
|
||||
vim.g.tmux_navigator_no_mappings = 1
|
||||
|
||||
map("n", "C-h", ":TmuxNavigateLeft<cr>")
|
||||
map("n", "C-j", ":TmuxNavigateDown<cr>")
|
||||
map("n", "C-k", ":TmuxNavigateUp<cr>")
|
||||
map("n", "C-l", ":TmuxNavigateRight<cr>")
|
||||
map("n", "<C-h>", ":TmuxNavigateLeft<cr>")
|
||||
map("n", "<C-j>", ":TmuxNavigateDown<cr>")
|
||||
map("n", "<C-k>", ":TmuxNavigateUp<cr>")
|
||||
map("n", "<C-l>", ":TmuxNavigateRight<cr>")
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
@ -4,6 +4,8 @@ local M = {}
|
|||
|
||||
function M.setup()
|
||||
arpeggio.chordSilent("n", "vp", ":VimuxPromptCommand<CR>")
|
||||
arpeggio.chordSilent("n", "vc", ":VimuxRunCommand \"clear\"<CR>")
|
||||
arpeggio.chordSilent("n", "vl", ":VimuxRunLastCommand<CR>")
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue