\documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{geometry} \usepackage{array} \usepackage{hyperref} \usepackage{xcolor} \geometry{margin=2.5cm} \title{\Huge LazyVim Cheat Sheet} \author{} \date{} \begin{document} \maketitle \section*{Leader Key} \texttt{} = Leader Key \vspace{0.5cm} % ----------------- \section*{Cursor-Bewegungen} \begin{tabular}{|>{\raggedright}p{5cm}|p{9cm}|} \hline \textbf{Shortcut} & \textbf{Aktion} \\ \hline \texttt{h} / \texttt{l} & links/rechts \\ \hline \texttt{j} / \texttt{k} & hoch/runter \\ \hline \end{tabular} \vspace{1cm} % ----------------- \section*{Dateien \& Projekt} \begin{tabular}{|>{\raggedright}p{5cm}|p{9cm}|} \hline \textbf{Shortcut} & \textbf{Aktion} \\ \hline \texttt{ f f} & Datei suchen (Telescope) \\ \hline \texttt{ f o} & Letzte Dateien (oldfiles) \\ \hline \texttt{ f w} & Text suchen (Live Grep) \\ \hline \texttt{ f s} & Speichern \\ \hline \texttt{ f q} & Neovim schließen \\ \hline \texttt{ e} & Dateiexplorer (Neo-Tree) \\ \hline \end{tabular} \vspace{1cm} % ----------------- \section*{Fenster \& Tabs} \begin{tabular}{|>{\raggedright}p{5cm}|p{9cm}|} \hline \textbf{Shortcut} & \textbf{Aktion} \\ \hline \texttt{} / \texttt{} & Split links/rechts wechseln \\ \hline \texttt{} / \texttt{} & Split hoch/runter wechseln \\ \hline \texttt{ w s} & Horizontal split \\ \hline \texttt{ w v} & Vertikal split \\ \hline \texttt{ c} & Split schließen \\ \hline \end{tabular} \vspace{1cm} % ----------------- \section*{LSP (Language Server)} \begin{tabular}{|>{\raggedright}p{5cm}|p{9cm}|} \hline \textbf{Shortcut} & \textbf{Aktion} \\ \hline \texttt{gd} & Gehe zu Definition \\ \hline \texttt{gD} & Gehe zu Deklaration \\ \hline \texttt{gi} & Gehe zu Implementierung \\ \hline \texttt{gr} & Referenzen suchen \\ \hline \texttt{K} & Hover-Info (Dokumentation) \\ \hline \texttt{ c a} & Code-Aktion \\ \hline \texttt{ c r} & Umbenennen \\ \hline \texttt{ c f} & Formatieren \\ \hline \end{tabular} \vspace{1cm} % ----------------- \section*{Suchen} \begin{tabular}{|>{\raggedright}p{5cm}|p{9cm}|} \hline \textbf{Shortcut} & \textbf{Aktion} \\ \hline \texttt{/} & Suchen \\ \hline \texttt{n} / \texttt{N} & Weitersuchen / Rückwärts suchen \\ \hline \texttt{ f w} & Live Grep (Telescope) \\ \hline \end{tabular} \vspace{1cm} % ----------------- \section*{Sonstiges} \begin{tabular}{|>{\raggedright}p{5cm}|p{9cm}|} \hline \textbf{Shortcut} & \textbf{Aktion} \\ \hline \texttt{ l} & LazyVim Menü (Lazy.nvim) \\ \hline \texttt{ q} & Quickfix öffnen/schließen \\ \hline \texttt{ g g} & LazyGit öffnen \\ \hline \end{tabular} \vspace{1cm} \section*{Tipps} - Alle LazyVim-Bindings starten oft mit \texttt{}. - Nutze \texttt{ l} um LazyVim Plugins zu verwalten. - Nutze \texttt{:Telescope} für viele zusätzliche Suchfunktionen. \end{document}