Commit Graph

119 Commits (373d358e4b44ecfa4cd46f0da7b6659a6a215890)

Author SHA1 Message Date
iGor milhit 373d358e4b
snippets: fix the inc front matter
- Fixes the front matter for the incremental notes files, removing
  unnecessary metadata and adding the id.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit cbf304d45c
telescope: add a plugin to use Ag
- Adds a plugin to use Ag The Silversearcher with Telescope.
- Improves some comments.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit f0f0bc6a47
config: set changes preview
- Sets the `inccommand` option to `nosplit` to preview the changes
  before accepting them with the substitute command.
- Removes unused configuration.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 30225fd570
mkdnflow: adapt follow link behavior
- Sets the `perspective.priority` to `current` to get the follow link
  feature behaves as I need, relative to the current buffer.
- Fixes the new file template to avoid a blank column at the begining
  (results in an invalid YAML syntax).

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 1ac295701b
plugin: install, configure Grammalecte
- Grammalecte is a French language checker. This plugin requires the
  python package `Grammalecte` that provide `grammalecte-cli` and
  `grammalecte-server`.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:51 +02:00
iGor milhit c940b3f6af
completion: set buffer completion to 4 chars
- Set the keyword_length to 4 in order to lighten the buffer completion.
- Add a markdown snippet to add a tags line in my incremental notes.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:51 +02:00
iGor milhit e3e920572d
plugin: ensure to use the legacy tag for fidget
- Ensures to use the legacy tag for the fidget plugin, as it will be
  under active development and rewritting.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:51 +02:00
iGor milhit ed705e0321
completion: add completion for text in the buffer
- Adds completion capabilities for text (in the current buffer), with
  the help of `cmp-buffer`).
- Expand the French dictionnary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 57b003e89d
snippets: fix wrong function in md snippets
- Replace `get_date` by `get_datetime` in the frontmatter snippets for
  markdown.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 6291f35599
plugins: add a plugin to manage terminal
- Adds the ToogleTerm plugin that allows to improve the managment of
  terminal buffers.
- Configures it.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 5a95663e73
snippets: fix the date function for markdown
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:50 +02:00
iGor milhit d27fc955bd
md preview: fix the node package installation.
- Fixes the markdown preview node package installation.
- Removes the theme configuration.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:50 +02:00
iGor milhit c467b30dbc
zenmode: Improve slightly the configuration
- Disables the foldcolumn which displays the fold level.
- Removes the backdrop to get a better color experience.
- Removes the colorcolumn in zen mode.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit da9ea3751a
LSP: install and configure texlab
- Installs and configure texlab which provides LSP and linter for LaTeX.
  Should also allow to build a project, but It is failling right now, I
  don't get why.
- Adds a markdown snippet to get the number of the curret day.
- Adds a markdown snippet to get the current date.
- Improves the syntax of the markdown snippets descriptions.
- Documents the feature of the plugin that provides the snippets search
  through telescope.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 558932130f
snippets: add some markdown snippets
- Adds a snippet to create a link in markdown reference syntax.
- Adds a frontmatter snippet for my INC notes.
- Replace the fronmatter snippet for markdown with a formatted one,
  easier to read.
- Improves the description of my markdown snippets.
- Enables the search highlighting.
- Removes unnecessary lualine separator.
- Renames the neo-tree plugin file.
- Lazy loads the zen-mode for markdown files.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 423721e92d
snippets: load my own snippets
- Renames the snippets folder to my_snippets.
- Loads my snippets.
- Creates two snippet example available for all filetypes.
- Creates three snippets for markdown filetype.
- Adds the telescope luasnip plugin.
- Sets a keymaping to fuzzy search all available snippets (<leader>ss).

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:50 +02:00
iGor milhit d5abb8bc15
plugins: configure zen mode to be zenier
- Removes the sign column and disables the git sign plugin.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 10f9cd5fbb
python: fix the pyenv path
- Fixes the concatenation of strings for the pyenv path.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 29781fb96e
global: add completion capabilites
- Add completion capabilities for paths.
- Add to the pandoc filetype the markdown snippets.
- Add a markdown template for new files created inside mkdnflow.
- Add all useful filetypes for mkdnflow.
- Add a keymap to fuzzy search open buffers (<leader>sb).
- Removes the `vim.env.HOME` variable in the python3 provider, as it is
  not working properly.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:49 +02:00
iGor milhit c3b5f943f7
markdown: set mkdnflow to conceal links
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:49 +02:00
iGor milhit 08a762f3b2
global: improve the configuration
- Adds the rainbow_csv plugin to improve CSV file support.
- Sets mutliple filetypes for markdown plugins (`pandoc`, `markdown`).
  - `mkdnflow`.
  - `markdownpreview`.
  - `marksman` language server (but it doesn't work for pandoc
    filetype).
- Sets folding level to 1 to fold from the level 2 headings.
- Sets the python virtualenv as python3 provider.
- Updates the English dictionnaries.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:49 +02:00
iGor milhit a9a660bd1b
plugins: remove and install some
- Removes vim-rhubarb (github related).
- Sets autopairs and vim-surround.
- Adds and configures true-zen and twilight

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:55:36 +02:00
iGor milhit 25c736d4f7
markdown: configure the markdown environment
- Adds the `markdown-preview.nvim` plugin.
- Adds the two `vim-pandoc` and `vim-pandoc-syntax` for the support of
  markdown syntax and for file conversions with pandoc.
- Sets basic options (max width of 79 chars).
- Restores the `.gitignore` rules of the kickstart.nvim project.
- Adds and configures the Nordic colorscheme plugin.
- Sets the English, French and German spelling.
- Adds the `mkdnflow` plugin to get notebook features.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:44:57 +02:00
iGor milhit 9cae3c7b03
global: rewrite neovim config based on kickstart
- Copies all kickstart files here.
- Rename my config to init.vim.save.
- Add the markdown preview plugin.
- Add the neo-tree plugin, as explained in the REAME.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-05-29 12:23:55 +02:00
iGor milhit cd4462d745
colorscheme: return to nord colorscheme
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-05-29 09:47:49 +02:00
iGor milhit f6c7eb87f2 plugins: sets Goyo width when activating to 85
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-04-13 12:54:02 +02:00
iGor milhit 3ec0e78450
plugins: simplify vimtex configuration
- Simplifies the vimtex configuration by removing tectonic options in
  order to avoid keeping build files.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-03-31 11:27:32 +02:00
iGor milhit 6fe4acbaf8 plugin: add and configure toggleterm
- Add and configure the Toggleterm plugin to improve the use of terminal
  inside neovim.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-03-23 14:06:02 +01:00
iGor milhit 2e8f13aa4a
plugin: configure vimtex with tectonic
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-03-23 13:57:05 +01:00
iGor milhit 4816e4a2c2
config: set zsh for shell option
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-03-09 10:52:13 +01:00
iGor milhit 7ff5472176
snippets: implement the use of snippets
- Create a new folder for snippets.
- Creates an HTML snippet.
- Creates a Markdown snippet.
- Adds auto commands in the configuration to fill in new buffer with the
  snippets.
- Documents the creation of the symlink in the README in order to get
  the snippets working.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-03-02 09:10:50 +01:00
iGor milhit 925010f10d
documentation: update the README
- Simplifies the README.
- Adds a requirements.txt with python depedencies for the virtualenv.
- Removes mentions of unused plugins and unnecessary depedencies.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2022-12-09 11:58:40 +01:00
iGor milhit 0112dfe601
plugings: remove syntastic
- Removes syntastic as it is redundant with coc-vim.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2022-12-09 10:51:47 +01:00
iGor milhit 13a7e3860d
plugins: improve mkdnflow configuration
- Moves the lua block because it breaks the file color syntax.
- Disables mkdnflow modules that I don't use and that break my own
  settings (lists indentation).
- Adds a TODO for evaluating the feasability to replace vim-table by the
  tables module of mkdnflow.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-10-27 15:30:10 +02:00
iGor milhit 7c055de06e
plugins: add plugins for CSV and for md links.
Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-10-25 16:42:49 +02:00
iGor milhit 37e28c58d1
plugins: remove uneccessary config for COC
* Removes key mapping for the coc-completion which does not use the
  built-in vim completion mechanism anymore.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-10-25 16:42:49 +02:00
iGor milhit c293cf8809
plugins: set edge light as color scheme
- Installs the edge and onehalf color schemes plugins.
- Removes the tokyonight color schemes.
- Sets edge light as main color scheme and as airline theme.
- Sets a background color for the selected item in the COC suggestion
  menu.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-10-25 16:42:48 +02:00
iGor milhit a27cc282bd
pyenv: replace hard path by environment variable
* Replaces the python virtualenv hard path by the $HOME environment
  variable in order to adapt to the user setting.
* Corrects a github URL to avoid the gitmemory one.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-02-25 16:19:55 +01:00
iGor milhit 0645bda9f4
doc: provide the python engine in a virtualenv
* Documents how to use `pyenv` to provide a virtual environment for the
  python engine.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-01-12 17:51:34 +01:00
iGor milhit 7909b50953
config: format memory option for autofs directories
* Delete unused `termguicolors` option.
* Improve readability of the memory option for autofs directories.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-12-29 12:17:40 +01:00
iGor milhit 69f59b3ea3
plugins: add devicons plugin to display icons
* Adds the devicons plugin that can display icons with the help of nerd
  patched fonts in some other plugins.
* Update the README accordingly, in the requirements section.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-12-09 19:43:52 +01:00
iGor milhit 3550265ff6 plugins: add the limelight plugin
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-11-23 21:38:52 +01:00
iGor milhit 172b784763
coc-vim: add linting for Sphinx and rst files
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-10-13 16:08:16 +02:00
iGor milhit d02bb711bd
plugins: add keybindings for fzf commands
* Removes ctrlP plugin and configuration.
* Stop opening nerdTree by default.
* Adds keybindings for fzf commands.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-07-26 09:15:51 +02:00
iGor milhit 1d090273ff
xelatex: configure compiler
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-27 07:50:33 +02:00
iGor milhit 386f36380b
documentation: document how to set fzf preview colors
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-03 17:44:13 +02:00
iGor milhit 1b605a3c81
colors: remove solarized file
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-03 17:34:59 +02:00
iGor milhit 831b199845
plugins: reorder fzf plugins
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-03 17:33:58 +02:00
iGor milhit 5725ad1086
plugins: remove jedi as coc-jedi is used
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-05-30 10:39:38 +02:00
iGor milhit 4ad8d1981c
configuration: remove nvim default setting
* Removes nvim setting that are enabled by default.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-05-21 08:14:50 +02:00