Update nvim config
This commit is contained in:
parent
8dd1b2a146
commit
6993837710
35
README.md
35
README.md
|
@ -3,7 +3,6 @@
|
|||
## Introduction
|
||||
|
||||
This project mainly stores config files, or dot files for development, such as vim, zsh, tmux and so on.
|
||||
|
||||
The purpose of this project is to build a Persional Develop Environment, AKA PDE, based on Linux and Windows.
|
||||
|
||||
## Content
|
||||
|
@ -16,7 +15,7 @@ The purpose of this project is to build a Persional Develop Environment, AKA PDE
|
|||
|
||||
1. vim/neovim
|
||||
|
||||
God of text editor. Emacs is also cool.
|
||||
God of text editor. Emacs is also cool especially for its org-mode.
|
||||
|
||||
2. zsh with oh-my-zsh
|
||||
|
||||
|
@ -25,14 +24,17 @@ Zsh is compatible with Bash. With plugins, it is an ultimate shell for *nix User
|
|||
3. Windows Terminal & PowerShell
|
||||
|
||||
It's hard to obtain Zsh on Windows, but PowerShell won't fail me. Although it supports Multi-platform,
|
||||
but I only use it on Windows 10+。
|
||||
but I only use it on Windows 10+。Cmder is also cool for Windows 7 or 8.
|
||||
|
||||
There are two PowerShells. One is WindowsPowerShell within Windows. The other is PowerShell on github.
|
||||
The former is only for Windows, and it needs to set text encoding to support utf-8. The latter supports
|
||||
Muti-platform, and is strongly recommended.
|
||||
There are two PowerShells. One is WindowsPowerShell within Windows. The other is PowerShell on github,
|
||||
which was called PowerShell Core. The former is only for Windows, and it needs to set text encoding to
|
||||
support utf-8. The latter supports Muti-platform, and is strongly recommended.
|
||||
|
||||
4. tmux
|
||||
|
||||
A powerful terminal mulitplexer. It supports multi-sessions, multi-windows, multi-tabs using one SSH
|
||||
connection. With oh-my-tmux, it becomes more efficient. Of course, you can also try Zellij.
|
||||
|
||||
|
||||
5. vscode/vscodium
|
||||
|
||||
|
@ -41,20 +43,35 @@ But it took months to change vim/neovim vscode-like😂.
|
|||
|
||||
6. kitty/wezterm/alacritty
|
||||
|
||||
These are cool Terminal Emulators, I prefer wezterm and kitty.
|
||||
These are cool Terminal Emulators, and I prefer wezterm and kitty.
|
||||
|
||||
7. yacHttp
|
||||
|
||||
Yet Another HTTP client, written HTTP requests in *.http files, and run in neovim or vscode. No need
|
||||
to install postman or ApiFox.
|
||||
|
||||
8. mycli/pgcli
|
||||
|
||||
Mycli is a cool terminal client tools to visit MySQL/Mariadb servers, and pgcli is for PostgreSQL.
|
||||
|
||||
9. IDEA/PyCharm Community
|
||||
|
||||
Though vim/neovim is powerful, IDEA is the supreme IDE in Java development. IDEA Community version is
|
||||
enough for Spring Boot based projects. PyCharm Community is also a choice for Python development.
|
||||
All IDE products of JetBrains can be vim-like with idea-vim plugin.
|
||||
|
||||
10. Dependency sources
|
||||
|
||||
Experience of using maven, pip, Golang and npm can be improved with local images. For example,
|
||||
tuna image source.
|
||||
|
||||
## Experimental Tools
|
||||
|
||||
1. helix
|
||||
|
||||
A post-modern terminal text editor with LSP inside.
|
||||
A post-modern terminal text editor with LSP inside. It may be more powerful than vim/neovim in the future.
|
||||
|
||||
2. nushell
|
||||
|
||||
A new Shell developed by Rust, with unique grammer.
|
||||
A new Shell developed by Rust, with unique grammer and behaves, which is worth trying.
|
||||
|
||||
|
|
|
@ -31,14 +31,22 @@ end
|
|||
local dashboard = require("alpha.themes.dashboard")
|
||||
dashboard.section.header.val = pic
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("f", " Find file", ":Telescope find_files <CR>"),
|
||||
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
|
||||
dashboard.button("p", " Find project", ":Telescope projects <CR>"),
|
||||
dashboard.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
|
||||
dashboard.button("t", " Find text", ":Telescope live_grep <CR>"),
|
||||
-- dashboard.button("f", " Find file", ":Telescope find_files <CR>"),
|
||||
-- dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
|
||||
-- dashboard.button("p", " Find project", ":Telescope projects <CR>"),
|
||||
-- dashboard.button("r", " Recently used files", ":Telescope oldfiles <CR>"),
|
||||
-- dashboard.button("t", " Find text", ":Telescope live_grep <CR>"),
|
||||
-- dashboard.button("c", " Configuration", ":e ~/.config/nvim/init.lua <CR>"),
|
||||
dashboard.button("u", " Update plugins", ":Lazy<CR>"),
|
||||
dashboard.button("q", " Quit Neovim", ":qa<CR>"),
|
||||
-- dashboard.button("u", " Update plugins", ":Lazy<CR>"),
|
||||
-- dashboard.button("q", " Quit Neovim", ":qa<CR>"),
|
||||
dashboard.button("f", "🔎 Find file", ":Telescope find_files <CR>"),
|
||||
-- dashboard.button("e", "📄 New file", ":ene <BAR> startinsert <CR>"),
|
||||
dashboard.button("l", "⚙ Show plugins", ":Lazy<CR>"),
|
||||
dashboard.button("p", "📁 Find project", ":Telescope projects <CR>"),
|
||||
dashboard.button("r", "🕒 Recently used files", ":Telescope oldfiles <CR>"),
|
||||
dashboard.button("t", "📝 Find text", ":Telescope live_grep <CR>"),
|
||||
dashboard.button("u", "🔄 Update plugins", ":Lazy<CR>"),
|
||||
dashboard.button("q", "⛔ Quit Neovim", ":qa<CR>"),
|
||||
}
|
||||
|
||||
local vim_footer = [[
|
||||
|
|
Loading…
Reference in New Issue