Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
web
Commits
fd13a176
Commit
fd13a176
authored
8 years ago
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attempt to manage fb comments
parent
18530e7f
master
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
.htaccess
.htaccess
+0
-4
_layouts/default.html
_layouts/default.html
+1
-0
_posts/2015-08-28-vim-for-man.md
_posts/2015-08-28-vim-for-man.md
+5
-2
No files found.
.htaccess
deleted
100644 → 0
View file @
18530e7f
AddType
text/html .shtml
AddHandler
server-parsed .shtml
Options
+Includes
XBitHack
Full
This diff is collapsed.
Click to expand it.
_layouts/default.html
View file @
fd13a176
...
...
@@ -19,6 +19,7 @@
<link
rel=
"stylesheet"
href=
"{{ site.base-url }}/styles/{{ pagestyle }}.css"
type=
"text/css"
>
<!-- Web Fonts FTW! -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://fonts.googleapis.com/css?family=Ubuntu"
>
<meta
property=
"fb:app_id"
content=
"658633094275731"
/>
</head>
<body>
<div
id=
"container"
>
...
...
This diff is collapsed.
Click to expand it.
_posts/2015-08-28-vim-for-man.md
View file @
fd13a176
...
...
@@ -26,7 +26,9 @@ Vim `man`'s pager. Why did I submit myself to such cruel and unusual punishment?
The post suggested setting
`$MANPAGER`
to a combination of
`col`
and
`vim`
:
export MANPAGER="col -b | vim -c 'set ft=man nomod nolist ignorecase' -"
```
sh
export
MANPAGER
=
"col -b | vim -c 'set ft=man nomod nolist ignorecase' -"
```
For decidedly non-obvious reasons, it's not likely to work for you. Why?
Because GNU
`man`
doesn't support piped commands in
`$MANPAGER`
-- BSD's
`man`
...
...
@@ -164,8 +166,9 @@ map <expr> <CR> winnr('$') == 1 ? ':vs<CR><C-]>' : '<C-]>'
{% endhighlight %}
with:
```
sh
MANPAGER
=
"vim -"
export
MANPAGER
=
"vim -"
```
Beautiful!
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment