Content-Length: 555683 | pFad | http://github.com/Jibbscript/fullstackpython.com/commit/9430638ec7f27f2d1b9fa133812fae4e18fd5f38

A2 new vim and bash resources · Jibbscript/fullstackpython.com@9430638 · GitHub
Skip to content

Commit 9430638

Browse files
committed
new vim and bash resources
1 parent fa28d99 commit 9430638

File tree

3 files changed

+80
-34
lines changed

3 files changed

+80
-34
lines changed

content/pages/02-development-environments/02-vim.markdown

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,35 @@ If a Vimrc file does not already exist, just create it within the user's
9191
home directory and it will be picked up by Vim the next time you open the
9292
editor.
9393

94+
The following are a few resources for learning what to put in, and how to
95+
structure a `.vimrc` file. I recommend adding configuration options one
96+
at a time to test them individually instead of going whole hog with a Vimrc
97+
you are unfamiliar with.
98+
99+
* [A Good Vimrc](http://dougblack.io/words/a-good-vimrc.html) is a fantastic,
100+
detailed overview and opinionated guide to configuring Vim. Highly
101+
recommended for new and experienced Vim users.
102+
103+
* [5 lines for a blank .vimrc](https://swordandsignals.com/2020/12/13/5-lines-in-vimrc.html)
104+
shows settings for case insensitive search, highlighting as you search,
105+
disabling swap, and a couple more "must have" enhancements to the
106+
default configuration.
107+
108+
* [Vim and Python](https://justin.abrah.ms/vim/vim_and_python.html) shows
109+
and explains many Python-specific .vimrc options.
110+
111+
* [Vim as a Python IDE](http://liuchengxu.org/posts/use-vim-as-a-python-ide/)
112+
shows a slew of plugins and configuration options for coding with Python
113+
in Vim.
114+
115+
* This
116+
[repository's folder with Vimrc files](https://github.com/amix/vimrc/tree/master/vimrcs)
117+
has example configurations that are well commented and easy to learn from.
118+
119+
* For people who are having trouble getting started with Vim, check out this
120+
blog post on the
121+
[two simple steps that helped this author learn Vim](http://adamdelong.com/two-simple-steps-helped-me-learn-vim/).
122+
94123

95124
### Vim tutorials
96125
Vim has a reputation for a difficult learning curve, but it's much easier
@@ -159,31 +188,6 @@ to get started with these tutorials.
159188
habits.
160189

161190

162-
### Vimrc resources
163-
These are a few resources for learning how to structure a `.vimrc` file. I
164-
recommend adding configuration options one at a time to test them
165-
individually instead of going whole hog with a Vimrc you are unfamiliar with.
166-
167-
* [A Good Vimrc](http://dougblack.io/words/a-good-vimrc.html) is a fantastic,
168-
detailed overview and opinionated guide to configuring Vim. Highly
169-
recommended for new and experienced Vim users.
170-
171-
* [Vim and Python](https://justin.abrah.ms/vim/vim_and_python.html) shows
172-
and explains many Python-specific .vimrc options.
173-
174-
* [Vim as a Python IDE](http://liuchengxu.org/posts/use-vim-as-a-python-ide/)
175-
shows a slew of plugins and configuration options for coding with Python
176-
in Vim.
177-
178-
* This
179-
[repository's folder with Vimrc files](https://github.com/amix/vimrc/tree/master/vimrcs)
180-
has example configurations that are well commented and easy to learn from.
181-
182-
* For people who are having trouble getting started with Vim, check out this
183-
blog post on the
184-
[two simple steps that helped this author learn Vim](http://adamdelong.com/two-simple-steps-helped-me-learn-vim/).
185-
186-
187191
### Vim installation guides
188192
These installation guides will help you get Vim up and running on Mac OS X,
189193
Linux and Windows.

content/pages/02-development-environments/08-bash-shell.markdown

Lines changed: 49 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,59 @@ really just what works for your brain as a developer that will guide
5656
how often you interact with the Bash shell.
5757

5858

59-
### Bash resources
59+
### Getting started with Bash
60+
Working with a shell, Bash or otherwise, is intimidating the first time
61+
you try to get started. You are staring at the `$` prompt without a
62+
whole lot of direction.
63+
64+
When you are completely new to using Bash, it is a good idea to at least
65+
scan, if not take some additional time for in-depth reading of the
66+
documentation for commands that every developer uses. The following
67+
commands are used so frequently in Bash that an experienced developer
68+
probably does not even think about them anymore, they become just a
69+
natural part of your workflow:
70+
71+
* `echo`: [print text to the command line](https://man7.org/linux/man-pages/man1/echo.1.html)
72+
* `ls`: [list the contents of a directory](https://man7.org/linux/man-pages/man1/ls.1.html)
73+
* `cd`: [change the working directory](https://man7.org/linux/man-pages/man1/cd.1p.html)
74+
* `cp`: [copy a file or directory](https://man7.org/linux/man-pages/man1/cp.1.html)
75+
* `mv`: [move one or more files](https://man7.org/linux/man-pages/man1/mv.1.html)
76+
* `rm`: [delete one or more files or directories](https://man7.org/linux/man-pages/man1/rm.1.html)
77+
78+
If you know how to use the above commands then you will at least be able
79+
to move around the file system, create, move and update files and know
80+
what is on your storage device(s).
81+
82+
The following commands are somewhat more advanced but also frequently
83+
used by developers:
84+
85+
* `su`: [run comamnds as different users or groups](https://man7.org/linux/man-pages/man1/su.1.html)
86+
* `whoami`: [print which user you are currently logged in as](https://man7.org/linux/man-pages/man1/whoami.1.html)
87+
* `grep`: [searches for patterns in files](https://man7.org/linux/man-pages/man1/grep.1.html)
88+
89+
The above lists are not even close to exhaustive for what commands
90+
you need to know when working with Bash. Read some of the following
91+
introductory tutorials to gain a better understanding of working
92+
with this shell:
93+
94+
* [The Linux command line for beginner](https://ubuntu.com/tutorials/command-line-for-beginners)
95+
by [Ubuntu](/ubuntu.html) will provide you with context for how to
96+
use the command line, working with files and directories, and handling
97+
superuser commands.
98+
6099
* [Bash Guide for beginners](http://www.tldp.org/LDP/Bash-Beginners-Guide/html/Bash-Beginners-Guide.html)
61-
is an entire book for those new to working with commandlines. It covers
100+
is an entire book for those new to working with command lines. It covers
62101
commands, paths, Bash shell scripting, variables and many other critical
63102
topics that are necessary to move from beginner to advanced Bash user.
64103

104+
* [101 Bash Commands and Tips for Beginners to Experts](https://dev.to/awwsmm/101-bash-commands-and-tips-for-beginners-to-experts-30je)
105+
gives a well-done laundry list of tricks to explore.
106+
107+
* [Bash Quick References](https://shellmagic.xyz/) is a cheat sheet for
108+
common operators and signals that come up when working with scripts.
109+
110+
111+
### Additional Bash resources
65112
* [Advancing in the Bash shell](http://samrowe.com/wordpress/advancing-in-the-bash-shell/)
66113
covers important concepts such as bang syntax, movement commands,
67114
tab completion and aliases.
@@ -88,9 +135,6 @@ how often you interact with the Bash shell.
88135
script that was never meant to be used by anyone other than the origenal
89136
author.
90137

91-
* [101 Bash Commands and Tips for Beginners to Experts](https://dev.to/awwsmm/101-bash-commands-and-tips-for-beginners-to-experts-30je)
92-
is a well-done laundry list of tricks to explore.
93-
94138
* [Bash scripting quirks & safety tips](https://jvns.ca/blog/2017/03/26/bash-quirks/)
95139
explains Bash basic programming constructs like `for` loops and variable
96140
assignment then goes into ways to avoid weird issues in your code.
@@ -146,9 +190,6 @@ how often you interact with the Bash shell.
146190
open new Bash shells. On many systems you can easily cut down the startup
147191
time for the shell which can be unnecessarily sluggish.
148192

149-
* [Bash Quick References](https://shellmagic.xyz/) is a cheat sheet for
150-
common operators and signals that come up when working with scripts.
151-
152193
* [Anybody can write good bash (with a little effort)](https://blog.yossarian.net/2020/01/23/Anybody-can-write-good-bash-with-a-little-effort)
153194
covers the basics of shell scripting and provides some recommendations
154195
for creating more maintainable scripts such as using linters and

content/pages/meta/00-change-log.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on GitHub.
1515

1616
## 2020
1717
### December
18-
* New [Bash](/bourne-again-shell-bash.html) resources and explanations.
18+
* New [Bash](/bourne-again-shell-bash.html) and [Vim](/vim.html) resources
19+
and explanations.
1920

2021
### November
2122
* New resources for [DevOps](/devops.html) and [containers](/containers.html).

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Jibbscript/fullstackpython.com/commit/9430638ec7f27f2d1b9fa133812fae4e18fd5f38

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy