Coder Social home page Coder Social logo

keovim's Introduction

Example_config

Preview

-- secrets.lua
local secrets = { WAKATIME_SECRET_API_KEY = "WAKATIME_SECRET_API_KEY" }
return secrets

Commands

Команды для LSP

:LspInfo — Показать информацию о текущем статусе LSP.
:LspStart <server> — Запустить указанный LSP сервер.
:LspStop <server> — Остановить указанный LSP сервер.
:LspRestart — Перезапустить все активные LSP серверы.

Word navigation

w — Move forward to the beginning of the next word W — Move forward to the beginning of the next WORD e - Move forward one word to the end of the next word E - Move forward one word to the end of the next WORD b - Move backward to beginning of the previous word B - Move backward to beginning of the previous WORD ge - Move backward to end of the previous word gE - Move backward to end of the previous WORD

Команды для автокомплита и LSP

K — Показать документацию для символа под курсором.
gd — Перейти к определению символа.
gD — Перейти к объявлению символа.
gi — Перейти к реализации символа.
gr — Найти все ссылки на символ.
gs — Показать подсказку по сигнатуре функции.
gn — Переименовать символ.
[g — Перейти к предыдущей диагностике (ошибке/предупреждению).
g] — Перейти к следующей диагностике (ошибке/предупреждению).

Команды для null-ls

:lua vim.lsp.buf.formatting_sync() — Применить автоформатирование для текущего файла.
:NullLsInfo — Показать информацию о статусе null-ls.
:lua vim.lsp.buf.code_action() — Выполнить действия кода (например, автофиксы).

Команды для nvim-tree

<leader>e — Открыть или закрыть NvimTree.
r — Переименовать файл или директорию.
a — Создать новый файл или директорию.
d — Удалить файл или директорию.
x — Вырезать файл или директорию.
c — Скопировать файл или директорию.
p — Вставить файл или директорию.

Команды для telescope

<leader>ff — Найти файл.
<leader>fg — Найти текст в файлах (grep).
<leader>fb — Найти буферы.
<leader>fh — Найти справку.

Команды для работы с typescript-tools.nvim

:TSToolsRenameFile — Переименовать или переместить файл с автоматическим обновлением путей импортов.
:TSToolsOrganizeImports — Организовать импорты в текущем файле.
:TSToolsAddMissingImports — Добавить отсутствующие импорты в текущем файле.
:TSToolsRemoveUnused — Удалить неиспользуемые переменные и импорты.

Команды для rust-tools.nvim

:RustRunnables — Показать список возможных запусков кода.
:RustExpandMacro — Развернуть макрос под курсором.
:RustHoverActions — Показать доступные действия под курсором.
:RustOpenCargo — Открыть файл Cargo.toml.

Полезные комбинации клавиш

<leader>w — Сохранить текущий файл.
<leader>q — Закрыть текущий буфер.
<leader>c — Комментировать/раскомментировать строку или выделение (с помощью плагина комментариев).

keovim's People

Contributors

keofoxy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.