1
Fork 0

Made a few changes

This commit is contained in:
Matei Adriel 2022-07-19 11:03:03 +00:00
parent c7b01d9b6d
commit 7cbe73ad5b
19 changed files with 55 additions and 26 deletions

View file

@ -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)

View file

@ -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()

View file

@ -71,6 +71,7 @@ end
-- General server config
local servers = {
tsserver = {on_attach = on_attach_typescript},
dhall_lsp_server = {},
sumneko_lua = {
settings = {
Lua = {

View file

@ -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

View file

@ -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

View file

@ -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