Warning
This README is not accurate anymore, don't pay attention to it
Hos's neovim config
I've created some modules for specific type of works, and I did my best to write them as modular as possible.
Let me explain a little :)
It can contain files to define new filetype for vim.
For example I've defined a new filetype called sent which is a suckless
presentation tool. The program igores everyline which begins with # so
that's the character for commenting. You get the idea.
Plugins settings are living here.
All of the files in after/ will be loaded after nvim's
configs (these are the last ones).
All Lua codes, settings, configs, plugins, etc.. will be here.
My custom configs are here as modules.
main.lua- Main settings
- Show line-number
- Enable relative number
- Show statusline
- Tab width
- Set spell language
- etc..
- Main settings
keybind.lua- Some basic keybindings
\is set as<leader><leader>fis for working withfile(e.g. compile, run, etc..)<leader>qis forTelescopecommands (only one for nvim-tree)<leader>vis for working with doc + split styles (see it as visuals)
Spaceis set as<localleader>- Escape in term-mode
- Toggle paste-mode
- Toggle spell-check
- Move into buffers
- Comment/Uncomment lines
- Some git commands
- Some basic keybindings
extra.lua- Extra options
- Autocmds (based on filetype, filename, BufEnter, etc..)
- e.g. Insert spaces in Python files instead of tabs
- Toggle autofill (auto-pair)
' " [ { (
- Autocmds (based on filetype, filename, BufEnter, etc..)
- Extra options
skel.lua- Import some templates from ready-to-use files
- Trigger key is
<localleader>- C
- C++
- Shell
- Lua
- Markdown
- Groff (ms)
- Python
- LaTeX
- R Markdown
- Makefile
- HTML
- Lorem Ipsum dummy text (1-9 paragraphs)
rce.lua- This is a plugin that I wrote to Compile, Run, Debug and more.
- All it do is to split window (also can be float) and run a command inside the new pane
- The command can be a shell to have a nice terminal open
<leader>tt: spawn bash shell<leader>cc: executemakecommand on CWD<leader>fe: run the current file (file must have#!andxpermission)<leader>fw: compile current file (for things like shell scripts, it will run the script but in a different way or different flags/versions)<leader>fq: extra works like debug, compile/run with also different flags, etc..
- You can run everything you want in terminal with
:lua RUNterminal('command')- the function can take a optional string for its style
:lua RUNterminal('ls', 'f')
- the function can take a optional string for its style
netrw.lua(Disabled by default)- Some preferred options for built-in file explorer
- Also a dirty function to Auto open/close
netrw
helper.lua(Disabled by default)- Some common functions (as aliases) for having less code
- Plugin Manager
- LSP
- Snippets
- Statusline
- Terminal session
- Programming Symbols
- More colors and diagnosis
- Render Hex colors
- Greetings
- Git
- Show keymaps
- Icons
- Fuzzy finder tools
- Draw ASCII art
- LSPs
- C/C++
clangd
- Python
pyrightnodejs,npmoryarn- Install both python and js modules
- Bash
- Note: it's disabled right now, but the config exists
bash-language-servernodejs,npmoryarn- Install js module
- Lua
lua_ls(lua-language-server)
- LaTeX
texlab
- Go
gopls
- C/C++
- Clipboard
xclip
- More fuzzy things (for git and Telescope)
lazygit
- Run and Compile
- Auto Complete
( { [ " ' - Write every custom plugins modular
- Complete the
README.mdfile (in progress)
