Compare commits
No commits in common. "58268b258e66573383d0a72a43f72b5206164b25" and "9285079f87637900a9b35eab600a5854073f1006" have entirely different histories.
58268b258e
...
9285079f87
@ -92,8 +92,7 @@ lvim.builtin.which_key.mappings["L"] = {
|
||||
|
||||
lvim.builtin.which_key.mappings["n"] = {
|
||||
name = "Notes",
|
||||
n = { "<CMD>ZkNew { group = vim.fn.input('Groupe: '), title = vim.fn.input('Titre: ') }<CR>",
|
||||
"Créer une nouvelle note" },
|
||||
n = { "<CMD>ZkNew { title = vim.fn.input('Titre: ') }<CR>", "Créer une nouvelle note" },
|
||||
o = { "<CMD>ZkNotes { sort = { 'modified' } }<CR>", "Ouvrir une note" },
|
||||
O = { "<CMD>ZkTags<CR>", "Ouvrir les notes avec le tag sélectionné" },
|
||||
f = { "<CMD>ZkNotes { sort = { 'modified' }, match = { vim.fn.input('Rechercher note: ') } }<CR>",
|
||||
@ -125,6 +124,7 @@ lvim.builtin.terminal.open_mapping = "<C-t>"
|
||||
lvim.builtin.treesitter.ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"comment",
|
||||
"java",
|
||||
"javascript",
|
||||
"json",
|
||||
@ -375,6 +375,16 @@ lvim.plugins = {
|
||||
]])
|
||||
end,
|
||||
},
|
||||
-- -- telescope-project
|
||||
-- {
|
||||
-- "nvim-telescope/telescope-project.nvim",
|
||||
-- event = "BufWinEnter",
|
||||
-- setup = function()
|
||||
-- vim.cmd ([[
|
||||
-- packadd telescope.nvim
|
||||
-- ]])
|
||||
-- end,
|
||||
-- },
|
||||
-- trouble
|
||||
{
|
||||
'folke/trouble.nvim',
|
||||
@ -401,7 +411,7 @@ lvim.plugins = {
|
||||
let g:vimtex_view_method = "zathura"
|
||||
let g:vimtex_quickfix_enabled = 0
|
||||
let g:vimtex_compiler_method = 'latexmk'
|
||||
let g:vimtex_view_use_temp_files = 0
|
||||
let g:vimtex_view_use_temp_files = 1
|
||||
]])
|
||||
end,
|
||||
},
|
||||
|
@ -42,7 +42,7 @@ path=(~/bin ~/.local/bin $path[@])
|
||||
|
||||
# >>> environment variables >>>
|
||||
export BROWSER=qutebrowser
|
||||
export EDITOR=$([[ $(command -v lvim) ]] && echo lvim || echo vim)
|
||||
export EDITOR=vim
|
||||
export TERMINAL=alacritty
|
||||
# export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
||||
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
|
||||
|
@ -2,10 +2,6 @@
|
||||
#
|
||||
# Uncomment the properties you want to customize.
|
||||
|
||||
# NOTEBOOK SETTINGS
|
||||
[notebook]
|
||||
dir = "~/Notes"
|
||||
|
||||
# NOTE SETTINGS
|
||||
#
|
||||
# Defines the default options used when generating new notes.
|
||||
@ -16,25 +12,23 @@ dir = "~/Notes"
|
||||
language = "fr"
|
||||
|
||||
# The default title used for new note, if no `--title` flag is provided.
|
||||
default-title = "Untitled"
|
||||
#default-title = "Untitled"
|
||||
|
||||
# Template used to generate a note's filename, without extension.
|
||||
#filename = "{{id}}"
|
||||
filename = "{{id}}-{{slug title}}"
|
||||
# filename = "{{format-date now}}-{{slug title}}"
|
||||
|
||||
# The file extension used for the notes.
|
||||
extension = "md"
|
||||
#extension = "md"
|
||||
|
||||
# Template used to generate a note's content.
|
||||
# If not an absolute path, it is relative to .zk/templates/
|
||||
template = "default.md"
|
||||
|
||||
# Path globs ignored while indexing existing notes.
|
||||
ignore = [
|
||||
"drafts/*",
|
||||
"log.md"
|
||||
]
|
||||
#ignore = [
|
||||
# "drafts/*",
|
||||
# "log.md"
|
||||
#]
|
||||
|
||||
# Configure random ID generation.
|
||||
|
||||
@ -44,13 +38,13 @@ ignore = [
|
||||
# * alphanum: letters + numbers
|
||||
# * hex: hexadecimal, from a to f and 0 to 9
|
||||
# * custom string: will use any character from the provided value
|
||||
id-charset = "alphanum"
|
||||
#id-charset = "alphanum"
|
||||
|
||||
# Length of the generated IDs.
|
||||
id-length = 4
|
||||
#id-length = 4
|
||||
|
||||
# Letter case for the random IDs, among lower, upper or mixed.
|
||||
id-case = "lower"
|
||||
#id-case = "lower"
|
||||
|
||||
|
||||
# EXTRA VARIABLES
|
||||
@ -73,17 +67,12 @@ author = "Jeff Lance"
|
||||
# the group. This can be useful to quickly declare a group by the name of the
|
||||
# directory it applies to.
|
||||
|
||||
[group."journal"]
|
||||
paths = ["journal/daily"]
|
||||
filename = "{{format-date now}}"
|
||||
extension = "md"
|
||||
template = "daily.md"
|
||||
|
||||
[group."travail"]
|
||||
filename = "{{slug title}}_{{format-date now}}"
|
||||
|
||||
[group."wiki"]
|
||||
filename = "{{format-date now}}_{{slug title}}"
|
||||
#[group."<NAME>"]
|
||||
#paths = ["<DIR1>", "<DIR2>"]
|
||||
#[group."<NAME>".note]
|
||||
#filename = "{{format-date now}}"
|
||||
#[group."<NAME>".extra]
|
||||
#key = "value"
|
||||
|
||||
|
||||
# MARKDOWN SETTINGS
|
||||
@ -124,7 +113,7 @@ pager = "less -FIRX"
|
||||
|
||||
# bat is a great tool to render Markdown document with syntax highlighting.
|
||||
#https://github.com/sharkdp/bat
|
||||
fzf-preview = "bat -p --color always {-1}"
|
||||
# fzf-preview = "bat -p --color always {-1}"
|
||||
|
||||
|
||||
# LSP
|
||||
@ -162,7 +151,7 @@ dead-link = "error"
|
||||
# Matches the notes created the last two weeks. For example:
|
||||
# $ zk list recents --limit 15
|
||||
# $ zk edit recents --interactive
|
||||
recents = "--sort created- --created-after 'last two weeks'"
|
||||
#recents = "--sort created- --created-after 'last two weeks'"
|
||||
|
||||
|
||||
# COMMAND ALIASES
|
||||
@ -178,14 +167,7 @@ recents = "--sort created- --created-after 'last two weeks'"
|
||||
# Here are a few aliases to get you started.
|
||||
|
||||
# Shortcut to a command.
|
||||
l = "zk list $@"
|
||||
c = "zk conf $@"
|
||||
e = "zk edit $@"
|
||||
el = "zk editlast $@"
|
||||
h = "zk hist $@"
|
||||
n = "zk new $@"
|
||||
nt = 'zk new --title "$*"'
|
||||
r = "zk recent $@"
|
||||
ls = "zk list $@"
|
||||
|
||||
# Default flags for an existing command.
|
||||
list = "zk list --quiet $@"
|
||||
@ -211,13 +193,4 @@ lucky = "zk list --quiet --format full --sort random --limit 1"
|
||||
hist = "zk list --format path --delimiter0 --quiet $@ | xargs -t -0 git log --patch --"
|
||||
|
||||
# Edit this configuration file.
|
||||
conf = '$EDITOR "${HOME}/.config/zk/config.toml"'
|
||||
|
||||
# Create a new daily journal note.
|
||||
jour = 'zk new -g journal --no-input "$ZK_NOTEBOOK_DIR/journal/daily"'
|
||||
|
||||
# Create a new work note.
|
||||
trav = 'zk new -g travail -t "$*" "$ZK_NOTEBOOK_DIR/travail"'
|
||||
|
||||
# Create a new wiki note.
|
||||
wiki = 'zk new -g wiki -t "$*" "$ZK_NOTEBOOK_DIR/wiki"'
|
||||
conf = '$EDITOR "$XDG_CONFIG_HOME/.zk/config.toml"'
|
||||
|
@ -1,3 +0,0 @@
|
||||
# {{format-date now "long"}}
|
||||
|
||||
Qu'ai-je fait aujourd'hui ?
|
Loading…
Reference in New Issue
Block a user