All Projects → LnL7 → Vim Nix

LnL7 / Vim Nix

Licence: mit
Vim configuration files for Nix http://nixos.org/nix

Labels

Projects that are alternatives of or similar to Vim Nix

Iohk Ops
NixOps deployment configuration for IOHK devops
Stars: ✭ 113 (-18.12%)
Mutual labels:  nix
Dotfiles
My small loan of configuration files and scripts - based on NixOS
Stars: ✭ 124 (-10.14%)
Mutual labels:  nix
Nix Doom Emacs
doom-emacs packaged for Nix
Stars: ✭ 132 (-4.35%)
Mutual labels:  nix
Docker
Dockerfiles to package Nix in a minimal docker container
Stars: ✭ 114 (-17.39%)
Mutual labels:  nix
Wasm Cross
Nix expressions for cross compiling to WebAssembly
Stars: ✭ 122 (-11.59%)
Mutual labels:  nix
Dotfiles
Configuration files for XMonad, Emacs, NixOS, Taffybar and more.
Stars: ✭ 127 (-7.97%)
Mutual labels:  nix
Nix Config
My NixOS configuration
Stars: ✭ 112 (-18.84%)
Mutual labels:  nix
Nixos Weekly
NixOS Weekly Newsletter
Stars: ✭ 137 (-0.72%)
Mutual labels:  nix
Crate2nix
nix build file generator for rust crates
Stars: ✭ 123 (-10.87%)
Mutual labels:  nix
Zsh Nix Shell
zsh plugin that lets you use zsh in nix-shell shells.
Stars: ✭ 130 (-5.8%)
Mutual labels:  nix
Mbp Nixos
Instructions and scripts related to getting NixOS running on a newer generation MBP
Stars: ✭ 115 (-16.67%)
Mutual labels:  nix
Nixgl
A wrapper tool for nix OpenGL application
Stars: ✭ 120 (-13.04%)
Mutual labels:  nix
Devshell
Per project developer environments
Stars: ✭ 129 (-6.52%)
Mutual labels:  nix
Nix Emacs Ci
Emacs installations for continuous integration
Stars: ✭ 114 (-17.39%)
Mutual labels:  nix
Install Nix Action
Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.
Stars: ✭ 132 (-4.35%)
Mutual labels:  nix
Flake Utils
Pure Nix flake utility functions
Stars: ✭ 113 (-18.12%)
Mutual labels:  nix
Micro Ci
A tiny CI server built around GitHub and Nix
Stars: ✭ 126 (-8.7%)
Mutual labels:  nix
Nix Mode
An Emacs major mode for editing Nix expressions.
Stars: ✭ 137 (-0.72%)
Mutual labels:  nix
Nix Files
My NixOS configuration and custom Nix derivations.
Stars: ✭ 136 (-1.45%)
Mutual labels:  nix
Nixos Manager
Manage your NixOS packages and configuration via a simple, intuitive UI
Stars: ✭ 128 (-7.25%)
Mutual labels:  nix

vim-nix

Build Status

Support for writing Nix expressions in vim.

Features included so far:

  • Syntax highlighting for Nix
  • Filetype detection for .nix files
  • Automatic indentation
  • NixEdit command: navigate nixpkgs by attribute name

Installation

Plugin managers

As of version 8.0 Vim supports packages. Clone this repository inside ~/.vim/pack/all/start:

git clone https://github.com/LnL7/vim-nix.git ~/.vim/pack/all/start/vim-nix

The most common plugin managers include vim-plug, NeoBundle, Vundle and pathogen.vim.

With pathogen.vim, just clone this repository inside ~/.vim/bundle:

git clone https://github.com/LnL7/vim-nix.git ~/.vim/bundle/vim-nix

With the other plugin managers, just follow the instructions on the homepage of each plugin. In general, you have to add a line to your ~/.vimrc:

" vim-plug
Plug 'LnL7/vim-nix'
" NeoBundle
NeoBundle 'LnL7/vim-nix'
" Vundle
Plugin 'LnL7/vim-nix'

Manual installation

Copy the contents of each directory in the respective directories inside ~/.vim.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].