Comments (5)
I was thinking about having multiple vimrcs before. I was thinking about creating symlinks and keeping folders like you have done with swim project. But, I hadn't enough time to keep and build it as a good script. But, suddenly, I remembered about your project, and tried it. It just worked.
-
~/.vim
(ie..vim
folder in youruser-home-folder
) is the folder where files are written related to~/.vimrc
. ie. Pluggins, syntax highlighting etc. goes to this folder as far I can tell. I have used it vim in bothWindows
andLinux
. Both follow this pattern. Perhaps, you just use plain vim (with out pluggins) !!? [I don't know, I'm taking a wild guess] -
a) I have suggested few commands to make the installation working. It's just after that statement. It starts with this statement
Below steps, are what I followed
.
b) Anyway, the problem was, it was not detectingswim
binary, during installation and after installation. By the way, I was able to figure out the path issue with your Readme alone. That's good thing. I really happy about it. Congrats. I managed to fix the path via some methods I mentioned in the blog.
I use Debian Linux. Debian 11 (ie.Testing Release, it's very recent one with almost all latest piece of software, I ever wanted).
from swim.
β
Yes, this does! I've had my personal computer running with neovim and swim
for years π
Neovim supports the .vimrc
format, but nvim keeps the configuration file in a different place.
The Nvim config file is named "init.vim", located at:
Unix ~/.config/nvim/init.vim
Windows ~/AppData/Local/nvim/init.vim
What works with swim
is to have your ~/.vimrc
file and symlink ~/.config/nvim/init.vim
to point to ~/.vimrc
. I've done this on my personal computer with the following:
$HOME/.config/nvim/init.vim
before running this
# WARNING: make sure you back this up first
rm -rf "$HOME/.config/nvim/init.vim"
ln -s "$DIR/vimrc" "$HOME/.config/nvim/init.vim"
from swim.
I have a small question. Only symlink-ing ~/.config/nvim/init.vim
needed ? What about ~/.vim
directory ?
By the way, I appreciate your work. I really likes it.
Also, I have written a blog post about swim here.
https://dev.to/ajeebkp23/swim-switch-between-multiple-vimrcs-2g69
Your feedback about my blog is also welcome π
from swim.
Wow, incredible! Nobody has done a blog post on this before, I really appreciate that. Here's my questions along with feedback:
-
I'm not sure what
~/.vim
does. I don't have one in my computer and a quick google search didn't help me learn this. What's that directory used for? -
In the blog post you say "Unfortunately, it didn't work well for me." can you inform me what went wrong here? Showing people how quick a good installation is will be important for your blog post to be popular
from swim.
I don't understand if there are any questions remaining here @ajeeb-kp-keleno . Thank you for the blog post again π
from swim.
Related Issues (20)
- delete error handling
- delete error handling
- readme improvement
- Colors
- Create tests
- Install
- change to printf everywhere echo occurs
- Change default blue vimrc
- swim vim | edit
- swim ls
- Emacs support HOT 1
- vimscript plugin HOT 1
- npm install HOT 1
- swim gh && swim github command
- oldvimrc cyclical symlink HOT 1
- Updates should be cryptographically signed HOT 2
- installation failed HOT 2
- Vim distribution support is not proper (As per my understanding) HOT 4
- Feat Request: Support for XDG_CONFIG_HOME HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swim.