nvim org updates
This commit is contained in:
parent
8d74ee5071
commit
7e2f543d95
6 changed files with 122 additions and 110 deletions
|
|
@ -226,6 +226,7 @@ gaps top 32
|
|||
assign [class="tidal-hifi"] 4
|
||||
assign [class="discord"] 5
|
||||
assign [class="vesktop"] 5
|
||||
assign [class="Ferdium"] 5
|
||||
assign [class="Element"] 6
|
||||
assign [class="Signal"] 6
|
||||
assign [class="thunderbird"] 7
|
||||
|
|
@ -234,7 +235,7 @@ for_window [instance="^copyq$" class="^copyq$"] floating enable, resize set 600
|
|||
# startup programs
|
||||
# sets up monitors and picom
|
||||
exec_always --no-startup-id $monitor_script
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id opencloud
|
||||
|
||||
exec --no-startup-id copyq
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ return {
|
|||
always_divide_middle = true,
|
||||
globalstatus = false,
|
||||
refresh = {
|
||||
statusline = 1000,
|
||||
statusline = 100,
|
||||
tabline = 1000,
|
||||
winbar = 1000,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
return {
|
||||
"nvim-orgmode/orgmode",
|
||||
ft = { 'org' },
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"akinsho/org-bullets.nvim",
|
||||
-- "akinsho/org-bullets.nvim",
|
||||
},
|
||||
config = function()
|
||||
-- -- Load custom treesitter grammar for org filetype
|
||||
require("org-bullets").setup({
|
||||
symbols = {
|
||||
headlines = { "◉", "○", "●", "✸" },
|
||||
checkboxes = false,
|
||||
},
|
||||
})
|
||||
-- require("org-bullets").setup({
|
||||
-- symbols = {
|
||||
-- headlines = { "◉", "○", "●", "✸" },
|
||||
-- checkboxes = false,
|
||||
-- },
|
||||
-- })
|
||||
-- require('orgmode').setup_ts_grammar()
|
||||
-- -- Treesitter configuration
|
||||
-- require('nvim-treesitter.configs').setup {
|
||||
|
|
@ -26,8 +26,8 @@ return {
|
|||
-- ensure_installed = { 'org' }, -- Or run :TSUpdate org
|
||||
-- }
|
||||
require('orgmode').setup({
|
||||
org_agenda_files = { '~/Nextcloud/org/**/*', '~/Nextcloud/Documents/uni/**/*' },
|
||||
org_default_notes_file = '~/Nextcloud/org/refile.org',
|
||||
org_agenda_files = { '~/org/**/*' },
|
||||
org_default_notes_file = '~/org/refile.org',
|
||||
})
|
||||
end
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,6 +60,15 @@ return {
|
|||
end, opts.ensure_installed)
|
||||
end
|
||||
require("nvim-treesitter.configs").setup(opts)
|
||||
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||
parser_config.org = {
|
||||
install_info = {
|
||||
url = "https://github.com/milisims/tree-sitter-org",
|
||||
revision = "main",
|
||||
files = { "src/parser.c", "src/scanner.c" },
|
||||
},
|
||||
filetype = "org",
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
@ -96,6 +105,6 @@ return {
|
|||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,3 +10,5 @@
|
|||
gpgsign = true
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[alias]
|
||||
tree = log --oneline --greaph --decorate --all
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
if [[ $# -eq 1 ]]; then
|
||||
selected=$1
|
||||
else
|
||||
selected=$(find -L ~/Nextcloud ~/.config ~/gits ~/gits/qmk_firmware/keyboards/tsousa ~/ -mindepth 1 -maxdepth 1 -type d,l | fzf)
|
||||
selected=$(find -L ~/org ~/.config ~/gits ~/gits/qmk_firmware/keyboards/tsousa ~/ -mindepth 1 -maxdepth 1 -type d,l | fzf)
|
||||
fi
|
||||
|
||||
if [[ -z "$selected" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue