Contents [๐]
- LunarVimSetting์ต์ข ๋ฒ์ ผ(Final)
- my NeoVim & LazyVim์ธํ
- my Lunarvim Setting๋ด ๋ฃจ๋๋น ์ธํ Setting
-
friendly-snippets rust.json๊ฒฝ๋ก
- rust.json ์ค๋ฆฌ์ง๋ ์ถ์ฒ(Jeremy Chone์งฑ์งฑ)
- ์ถ์ฒ : The Rust Production Coding Blueprints repository is maintained by Jeremy Chone (https://youtube.com/jeremychone).
- rust.json ์ค๋ฆฌ์ง๋ ์ถ์ฒ(Jeremy Chone์งฑ์งฑ)
-
LunarVim Setting ๋ด๊ฐ ๊ณต๋ถํ๋ ค๊ณ ์ ๋ฆฌํ ์์YouTubeContents
-
Rust Code Snippets๊ด๋ จ ์๋ฃ
LunarVim_luaSetting_(Rust Languges & Tabby AI & snippets setting)
-
lvim-config_gyoung
-
- install https://www.lunarvim.org/
-
- .config/lvim ์ธํ
-
-
FTPlugin(filetype plugin)
-
์ค์ ์์น
$HOME/.config/lvim
- tree
tree
.
โโโ after
โย ย โโโ ftplugin
โย ย โโโ bash.lua
โย ย โโโ go.lua
โย ย โโโ javascript.lua
โย ย โโโ javascriptreact.lua
โย ย โโโ rust.lua
โย ย โโโ typescript.lua
โย ย โโโ typescriptreact.lua
โโโ config.lua
โโโ lazy-lock.json
โโโ lua
โโโ user
โโโ functions.lua
โโโ icons.lua
โโโ inlay-hints.lua
โโโ keymaps.lua
โโโ lsp
โย ย โโโ init.lua
โย ย โโโ languages
โย ย โโโ rust.lua
โย ย โโโ sh.lua
โโโ options.lua
โโโ plugins.lua
โโโ whichkey.lua
6 directories, 19 files
007๊ฐ๊ณ ์ํ๋ฉด์ ๋ฐฐ์ฐ๋ Rust_FullStack_LunarVim_Setting_part1[๐]
-
lunarvim ์ค์น๋๋ ์์น ์ด๋ป๊ฒ ๊ตฌํ๋๋์ง ํ์ธ๊ฐ๋ฅ
$HOME/.local/share/lunarvim/lvim
๋ค๋ฅธ Vim Setting[๐]
# doom_emacs_setting
.emacs.d
01_Vim_NeoVim_etc_Rust_settings
02_VScodeSetting_json
03_VS_Visual_Studio_Vim_Setting
04_helix_settings
05_Eclipse_Vim_settings
06_IntelliJ_IDEA_Vim_Setting
07_Sc_im_vim_excel
08_Android_Studio_Vim_Setting
09_macOS_Brewfile
10_FishShell
11_Zed_Editor
Lapce_editor
alacritty
broot_tree
doom_emacs.d
dotfiles_linux
tmux_conf
windows_terminal_settings
.zshrc
vimrc
์ธ๊ตญ๋ถ์ด ๋ด ์ธํ ๋ ๊น๋ํ๊ฒ ์ ๋ฆฌํด์ค[๐]
friendly-snippets rust.json๊ฒฝ๋ก[๐]
- ์ฌ๊ธฐ์ ์ ์ถ๊ฐํด ์ฃผ๋ฉด ๋จ
.local/share/lunarvim/site/pack/lazy/opt/friendly-snippets/snippets/rust/rust.json
-
rust.json
์ฐธ๊ณ -
rust.json ์ค๋ฆฌ์ง๋ ์ถ์ฒ(Jeremy Chone์งฑ์งฑ)
- ์ถ์ฒ : The Rust Production Coding Blueprints repository is maintained by Jeremy Chone (https://youtube.com/jeremychone).
Tabby AI(Coding Assistant)[๐]
-
About
- Self-hosted AI coding assistant
-
macos
brew install tabbyml/tabby/tabby
# Start server with StarCoder-1B
tabby serve --device metal --model TabbyML/StarCoder-1B
- LinuxOS
- Run Tabby in 1 Minute https://github.com/TabbyML/tabby
- The easiest way to start a Tabby server is by using the following Docker command:
- Run Tabby in 1 Minute https://github.com/TabbyML/tabby
docker run -it \
--gpus all -p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby \
serve --model TabbyML/StarCoder-1B --device cuda
- Stability AI, ์ฝ๋ฉ์ฉ LLM ๋ชจ๋ธ Stable Code 3B ๊ณต๊ฐ | GeekNews
- stable-code-3b
- ๋ชจ๋ธ์ ๋จผ์ ์ธํ ํด์ฃผ๊ณ ํด์ผ ๋๋ค.
docker run -it \
--gpus all -p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby \
serve --model TabbyML/Mistral-7B --device cuda
- https://tabby.tabbyml.com/docs/faq
- 3B์ง๋ฆฌ
docker run -it \
--gpus all -p 8080:8080 -v $HOME/.tabby:/data \
tabbyml/tabby \
serve --model TabbyML/StarCoder-3B --device cuda
- ๋ชจ๋ธ ๋ฐ๊ฟ์ฃผ๊ธฐ ์ข๋ค
docker run -it \
โgpus all -p 8080:8080 \
-e TABBY_DISABLE_USAGE_COLLECTION=1 \
-v $HOME/.tabby:/data \
tabbyml/tabby \
serve โmodel TabbyML/CodeLlama-7B โdevice cuda
lvim ์ธ ๋ cargo fmt && cargo check
ํ์ฉํ์[๐]
$ cargo fmt && cargo check
- inlayhint ์๊น hex color (LunarVim Inlayhint Color Settings)
// ์์ฆ ์ฐ๋ ์ 240106
:hi LspInlayHint guifg=#35638f guibg=#420517
:hi Comment guifg=#35638f guibg=#420517
// ๋ฐฐ๊ฒฝ์ ์ด๋์ด ๋นจ๊ฐ์ / ๊ธ์จ๋ ์ฝ๊ฐ ๋ฐ์ ์
:hi Comment guifg=#8aaecf guibg=#4e1a1a
Rust๊ณ ์์ snippets์ ๋ฆฌ[๐]
Helix snippets Server๊ตฌ์ถํ๊ธฐ[๐]
Nvim - Surround[๐]
Old text Command New text
--------------------------------------------------------------------------------
surr*ound_words ysiw) (surround_words)
*make strings ys$" "make strings"
[delete ar*ound me!] ds] delete around me!
remove <b>HTML t*ags</b> dst remove HTML tags
'change quot*es' cs'" "change quotes"
<b>or tag* types</b> csth1<CR> <h1>or tag types</h1>
delete(functi*on calls) dsf function calls
zig lang setting ๋์ค์ ์ ์ฉํ ์์ [๐]
https://github.com/NTBBloodbath/zig-tools.nvim
Todo[๐]
-
Apply jk as esc
- /lua/user/keymaps.lua
-
lvim.keys.insert_mode["jk"] = "<Esc>"
-
Apply Relative Number
- /lua/user/option.lua
-
local options = { relativenumber = true, -- set relative numbered lines }
-
Apply colorscheme
-
- /lua/user/option.lua
-
-- lvim.colorscheme = "tokyonight-moon" -- lvim.colorscheme = "gruvbox-material" lvim.colorscheme = "habamax"
-
-
Rust fmt Setting()
-
The perfect Neovim setup for Rust. https://youtu.be/mh_EJhH49Ms
- /lua/user/plugins.lua
-- cargo fmt { "rust-lang/rust.vim", ft = "rust", init = function () vim.g.rustfmt_autosave = 1 end },
-
zig-tools (lsp) will be applied.
- todo!()
Migration Guide[๐]
๋ด NeoVim ์ธํ (LazyVim & NeoVim)[๐]
-
์ต์ข ์์ฑ(Rust, C/C++, Zig, TabbyAI์๋ฒฝ์ค์น)(gy_version_final)
-
https://github.com/YoungHaKim7/nvim_gysetting
- Windows์ ์ธ๋งํ NeoVim
My LunarVim Setting๋ด ๋ฃจ๋๋น ์ธํ Setting[๐]
-
macOS
-
linuxOS๊ฐ๋จ ์ธํ
์ด๊ฑฐ ์๋ ์ฃผ์ธ ์์ My Development Setup (Neovim, Tmux, Alacritty & Rust-based CLI Tools)[๐]
Fork Github & Thank you.[๐]
https://github.com/adibhanna/lvim-config
- ๋ค๋ฅธ ์ธ๊ตญ์ธ๊บผ