summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugin_settings.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugin_settings.lua')
-rw-r--r--.config/nvim/lua/plugin_settings.lua126
1 files changed, 126 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua
new file mode 100644
index 0000000..6de7ebd
--- /dev/null
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -0,0 +1,126 @@
1-- ┌──────────────────┐
2-- │ ▗ │
3-- │▛▀▖▞▀▖▞▀▖▌ ▌▄ ▛▚▀▖│
4-- │▌ ▌▛▀ ▌ ▌▐▐ ▐ ▌▐ ▌│
5-- │▘ ▘▝▀▘▝▀ ▘ ▀▘▘▝ ▘│
6-- └──────────────────┘
7-- ┌─────────────────────────────────────┐
8-- │ ▜ ▐ ▐ ▗ │
9-- │▛▀▖▐ ▌ ▌▞▀▌▗▖▖▞▀▘▞▀▖▜▀ ▜▀ ▄ ▛▀▖▞▀▌▞▀▘│
10-- │▙▄▘▐ ▌ ▌▚▄▌▘▝ ▝▀▖▛▀ ▐ ▖▐ ▖▐ ▌ ▌▚▄▌▝▀▖│
11-- │▌ ▘▝▀▘▗▄▘ ▀▀ ▝▀▘ ▀ ▀ ▀▘▘ ▘▗▄▘▀▀ │
12-- └─────────────────────────────────────┘
13
14local g = vim.g -- global for let options
15local opt = vim.opt -- convenient :set
16local cmd = vim.cmd -- vim commands
17
18-- vimwiki {{{ --
19g.vimwiki_list = {
20 {
21 path = '/home/yigit/nextcloud/personal_wiki/text',
22 path_html = '/home/yigit/nextcloud/personal_wiki/html',
23 auto_generate_tags = 1,
24 automatic_nested_syntaxes = 1,
25 template_path = '/home/yigit/nextcloud/personal_wiki/templates',
26 template_default = 'default_template',
27 template_ext = '.html',
28 auto_export = 1,
29 auto_tags = 1
30 }
31}
32
33g.vimwiki_global_ext = 0
34g.vimwiki_hl_headers = 1
35-- }}} vimwiki --
36
37-- lualine {{{ --
38require'lualine'.setup {
39 options = {
40 lower = true,
41 icons_enabled = true,
42 theme = 'rose-pine',
43 section_separators = {'', ''},
44 component_separators = {'', ''},
45 disabled_filetypes = {}
46 },
47 sections = {
48 lualine_a = {{'mode', lower = true}},
49 lualine_b = {'branch', 'diff'},
50 lualine_c = {'filename'},
51 lualine_x = {'encoding', 'fileformat', 'filetype'},
52 lualine_y = {'progress'},
53 lualine_z = {
54 'location', {
55 'diagnostics',
56 sources = {'ale'},
57 sections = {'error', 'warn', 'info', 'hint'},
58 symbols = {error = 'e', warn = 'w', info = 'i', hint = 'h'}
59 }
60 }
61 },
62 inactive_sections = {
63 lualine_a = {},
64 lualine_b = {},
65 lualine_c = {'filename'},
66 lualine_x = {},
67 lualine_y = {},
68 lualine_z = {}
69 },
70 tabline = {},
71 extensions = {}
72}
73-- }}} requi --
74
75-- Cutlass suite {{{1 --
76
77-- cutlass/yoink/subverse suite
78g.yoinkIncludeDeleteOperations = 1
79
80-- fix the Target STRING not available
81g.clipboard = {
82 name = 'xsel_override',
83 copy = {
84 ['+'] = 'xsel --input --clipboard',
85 ['*'] = 'xsel --input --primary',
86 },
87 paste = {
88 ['+'] = 'xsel --output --clipboard',
89 ['*'] = 'xsel --output --primary',
90 },
91 cache_enabled = 1,
92}
93
94-- 1}}} --
95
96-- UltiSnips {{{ --
97opt.runtimepath:append('/home/yigit/.vim/my-snippets/')
98g.UltiSnipsEditSplit = "vertical"
99-- ctrl + l expands the snippet, c + j/k navigates placeholders
100g.UltiSnipsExpandTrigger = "<C-l>"
101g.UltiSnipsEnableSnipMate = "1"
102-- }}} UltiSnips --
103
104-- float preview
105g["float_preview#docked"] = 0
106
107-- highlight on yank
108cmd('highlight HighlightedyankRegion cterm=reverse gui=reverse')
109g.highlightedyank_highlight_duration = 200
110
111-- beacon {{{ --
112g.beacon_size = 100
113g.beacon_shrink = 1
114cmd('highlight Beacon guibg=red ctermbg=15')
115-- }}} beacon --
116
117-- vim-slime {{{ --
118g.slime_target = "tmux"
119g.slime_paste_file = "/home/yigit/.slime_paste"
120-- g.slime_default_config = {socket_name = get(split($TMUX, ","), 0), target_pane = "{last}"}
121-- }}} vim-slime --
122
123-- vimtex {{{ --
124g.vimtex_view_method = 'zathura'
125g.vimtex_quickfix_mode = 0
126-- }}} vimtex --